public class PipeHandler extends net.openhft.chronicle.wire.channel.AbstractHandler<PipeHandler>
Constructor and Description |
---|
PipeHandler() |
Modifier and Type | Method and Description |
---|---|
net.openhft.chronicle.wire.channel.ChronicleChannel |
asInternalChannel(net.openhft.chronicle.wire.channel.ChronicleContext context,
net.openhft.chronicle.wire.channel.ChronicleChannelCfg<?> channelCfg) |
Predicate<net.openhft.chronicle.wire.Wire> |
filter() |
PipeHandler |
filter(Predicate<net.openhft.chronicle.wire.Wire> filter) |
String |
publish() |
PipeHandler |
publish(String publish) |
int |
publishSourceId() |
PipeHandler |
publishSourceId(int publishSourceId) |
void |
run(net.openhft.chronicle.wire.channel.ChronicleContext context,
net.openhft.chronicle.wire.channel.ChronicleChannel channel) |
String |
subscribe() |
PipeHandler |
subscribe(String subscribe) |
PipeHandler |
subscribeSourceId(int subscribeSourceId) |
PipeHandler |
subscriptionIndexController(Consumer<ExcerptTailer> subscriptionIndexController) |
net.openhft.chronicle.bytes.SyncMode |
syncMode() |
PipeHandler |
syncMode(net.openhft.chronicle.bytes.SyncMode syncMode) |
sessionName, sessionName, systemContext, systemContext
usesSelfDescribingMessage
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
closeWhenRunEnds, recordHistory, responseHeader
sessionName, sessionName, systemContext, systemContext
$equals, $fieldInfoMap, $fieldInfos, $hashCode, $toString, className, copyTo, deepCopy, fromFile, fromFile, fromString, fromString, fromString, getField, getLongField, mergeToMap, readMarshallable, reset, setField, setLongField, streamFromFile, streamFromFile, writeMarshallable
binaryLengthLength, writeValue
public String publish()
public PipeHandler publish(String publish)
public String subscribe()
public PipeHandler subscribe(String subscribe)
public net.openhft.chronicle.bytes.SyncMode syncMode()
public PipeHandler syncMode(net.openhft.chronicle.bytes.SyncMode syncMode)
public Predicate<net.openhft.chronicle.wire.Wire> filter()
public PipeHandler filter(Predicate<net.openhft.chronicle.wire.Wire> filter)
public int publishSourceId()
public PipeHandler publishSourceId(int publishSourceId)
public PipeHandler subscribeSourceId(int subscribeSourceId)
public void run(net.openhft.chronicle.wire.channel.ChronicleContext context, net.openhft.chronicle.wire.channel.ChronicleChannel channel)
public net.openhft.chronicle.wire.channel.ChronicleChannel asInternalChannel(net.openhft.chronicle.wire.channel.ChronicleContext context, net.openhft.chronicle.wire.channel.ChronicleChannelCfg<?> channelCfg)
public PipeHandler subscriptionIndexController(Consumer<ExcerptTailer> subscriptionIndexController)
subscriptionIndexController
- controls where the subscriptions will start to read from, by allowing the caller to
ExcerptTailer.moveToIndex(long)
to control the first read locationCopyright © 2024. All rights reserved.