public class VanillaWireOutPublisher extends net.openhft.chronicle.core.io.AbstractCloseable implements WireOutPublisher
| Constructor and Description |
|---|
VanillaWireOutPublisher(@NotNull net.openhft.chronicle.wire.WireType wireType) |
| Modifier and Type | Method and Description |
|---|---|
void |
applyAction(@NotNull net.openhft.chronicle.bytes.Bytes<?> bytes)
Apply waiting messages and return
false if there was none. |
void |
applyAction(@NotNull net.openhft.chronicle.wire.WireOut outWire)
Apply waiting messages and return
false if there was none. |
boolean |
canTakeMoreData() |
void |
clear() |
WireOutPublisher |
connectionDescription(String connectionDescription) |
boolean |
isEmpty() |
protected void |
performClose() |
void |
put(Object key,
@NotNull net.openhft.chronicle.wire.WriteMarshallable event) |
@NotNull String |
toString() |
void |
wireType(@NotNull net.openhft.chronicle.wire.WireType wireType) |
assertCloseable, assertCloseablesClosed, clearUsedByThread, close, createdHere, disableCloseableTracing, disableThreadSafetyCheck, disableThreadSafetyCheck, enableCloseableTracing, gcAndWaitForCloseablesToClose, isClosed, isClosing, isInUserThread, referenceId, resetUsedByThread, shouldPerformCloseInBackground, shouldWaitForClosed, singleThreadedCheckDisabled, singleThreadedCheckDisabled, singleThreadedCheckReset, threadSafetyCheck, throwExceptionIfClosed, throwExceptionIfClosedInSetter, unmonitor, waitForCloseablesToClose, waitForClosed, warnAndCloseIfNotClosedclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddWireConsumer, close, isClosed, publish, removeBytesConsumerpublic VanillaWireOutPublisher(@NotNull
@NotNull net.openhft.chronicle.wire.WireType wireType)
public WireOutPublisher connectionDescription(String connectionDescription)
connectionDescription in interface WireOutPublisherpublic void applyAction(@NotNull
@NotNull net.openhft.chronicle.bytes.Bytes<?> bytes)
false if there was none.applyAction in interface WireOutPublisherbytes - buffer to write to.public void applyAction(@NotNull
@NotNull net.openhft.chronicle.wire.WireOut outWire)
false if there was none.applyAction in interface WireOutPublisheroutWire - buffer to write to.public boolean canTakeMoreData()
canTakeMoreData in interface WireOutPublisherpublic void put(Object key, @NotNull @NotNull net.openhft.chronicle.wire.WriteMarshallable event)
put in interface WireOutPublisherkey - the key to the event, only used when throttling, otherwise NULL if the
throttling is not requiredevent - the marshallable eventprotected void performClose()
performClose in class net.openhft.chronicle.core.io.AbstractCloseablepublic void wireType(@NotNull
@NotNull net.openhft.chronicle.wire.WireType wireType)
wireType in interface WireOutPublisherpublic void clear()
clear in interface WireOutPublisherpublic boolean isEmpty()
isEmpty in interface WireOutPublisher@NotNull public @NotNull String toString()
toString in class net.openhft.chronicle.core.io.AbstractCloseableCopyright © 2023. All rights reserved.