public class VanillaWireOutPublisher extends Object implements WireOutPublisher
| Constructor and Description |
|---|
VanillaWireOutPublisher() |
| Modifier and Type | Method and Description |
|---|---|
void |
applyAction(net.openhft.chronicle.wire.WireOut out,
Runnable runnable)
Apply waiting messages and return false if there was none.
|
void |
close() |
boolean |
isClosed() |
void |
put(Object key,
net.openhft.chronicle.wire.WriteMarshallable event) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitnewThrottledWireOutPublisherpublic void applyAction(@NotNull
net.openhft.chronicle.wire.WireOut out,
@NotNull
Runnable runnable)
applyAction in interface WireOutPublisherout - buffer to write to.public void put(Object key, 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 eventpublic boolean isClosed()
isClosed in interface WireOutPublisherpublic void close()
close in interface Closeableclose in interface AutoCloseableCopyright © 2015. All rights reserved.