@FunctionalInterface public interface WireOutPublisher extends net.openhft.chronicle.core.io.Closeable
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
LOG |
| Modifier and Type | Method and Description |
|---|---|
default void |
addWireConsumer(WireOutConsumer wireOutConsumer) |
default void |
applyAction(@NotNull net.openhft.chronicle.bytes.Bytes<?> out) |
default void |
applyAction(@NotNull net.openhft.chronicle.wire.WireOut out) |
default boolean |
canTakeMoreData() |
default void |
clear() |
default void |
close() |
default WireOutPublisher |
connectionDescription(String connectionDescription) |
default boolean |
isClosed() |
default boolean |
isEmpty() |
default void |
publish(net.openhft.chronicle.wire.WriteMarshallable event)
publishes an event without a throttle key
|
void |
put(@Nullable Object key,
net.openhft.chronicle.wire.WriteMarshallable event) |
default boolean |
removeBytesConsumer(WireOutConsumer wireOutConsumer) |
default void |
wireType(net.openhft.chronicle.wire.WireType wireType) |
default void applyAction(@NotNull
@NotNull net.openhft.chronicle.bytes.Bytes<?> out)
default void applyAction(@NotNull
@NotNull net.openhft.chronicle.wire.WireOut out)
default void addWireConsumer(WireOutConsumer wireOutConsumer)
default boolean removeBytesConsumer(WireOutConsumer wireOutConsumer)
default boolean canTakeMoreData()
void put(@Nullable
@Nullable Object key,
net.openhft.chronicle.wire.WriteMarshallable event)
key - the key to the event, only used when throttling, otherwise NULL if the
throttling is not requiredevent - the marshallable eventdefault boolean isClosed()
isClosed in interface net.openhft.chronicle.core.io.QueryCloseabledefault boolean isEmpty()
default void close()
close in interface AutoCloseableclose in interface Closeabledefault void wireType(net.openhft.chronicle.wire.WireType wireType)
default void clear()
default void publish(net.openhft.chronicle.wire.WriteMarshallable event)
event - the event to publishdefault WireOutPublisher connectionDescription(String connectionDescription)
Copyright © 2023. All rights reserved.