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 |
|---|---|
void |
applyAction(net.openhft.chronicle.wire.WireOut out,
Runnable runnable) |
boolean |
canTakeMoreData() |
boolean |
isClosed() |
static WireOutPublisher |
newThrottledWireOutPublisher(int periodMs,
WireOutPublisher delegate)
a static factory that creates and instance in chronicle enterprise
|
void |
put(Object key,
net.openhft.chronicle.wire.WriteMarshallable event) |
static WireOutPublisher newThrottledWireOutPublisher(int periodMs, @NotNull WireOutPublisher delegate)
periodMs - the period between updates of the same keydelegate - the WireOutPublisher the events will get delegated tovoid applyAction(@NotNull
net.openhft.chronicle.wire.WireOut out,
@NotNull
Runnable runnable)
void put(@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 eventboolean isClosed()
boolean canTakeMoreData()
Copyright © 2016. All rights reserved.