public class BufferedChronicleChannel extends DelegateChronicleChannel
channelMARSHALLABLE_IN_INTERN_SIZE| Constructor and Description |
|---|
BufferedChronicleChannel(TCPChronicleChannel channel,
net.openhft.chronicle.threads.Pauser pauser) |
| Modifier and Type | Method and Description |
|---|---|
WireOut |
acquireProducer()
Retrieves a producer instance associated with this channel.
|
DocumentContext |
acquireWritingDocument(boolean metaData)
Start or reuse an existing a DocumentContext, optionally call close() when done.
|
void |
close() |
EventPoller |
eventPoller()
Retrieves the EventPoller instance associated with this channel.
|
BufferedChronicleChannel |
eventPoller(EventPoller eventPoller)
Associates a given EventPoller instance with this channel.
|
void |
releaseProducer()
Releases the producer instance previously acquired with acquireProducer().
|
DocumentContext |
writingDocument(boolean metaData)
Start a new DocumentContext, must always call close() when done.
|
bufferSize, channelCfg, headerIn, headerInToUse, headerOut, isClosed, lastTestMessage, readingDocument, recordHistory, supportsEventPoller, testMessageclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waiteventHandlerAsRunnable, newChannel, readOnebuilder, methodWriter, methodWriter, methodWriterBuilder, methodWriterBuilder, writeBytes, writeDocument, writeDocument, writeMap, writeMessage, writeMessage, writeText, writingDocumentmethodReader, methodReaderBuilder, readBytes, readBytes, readDocument, readMap, readText, readTextpublic BufferedChronicleChannel(TCPChronicleChannel channel, net.openhft.chronicle.threads.Pauser pauser)
public EventPoller eventPoller()
InternalChronicleChanneleventPoller in interface InternalChronicleChanneleventPoller in class DelegateChronicleChannelpublic BufferedChronicleChannel eventPoller(EventPoller eventPoller)
InternalChronicleChanneleventPoller in interface InternalChronicleChanneleventPoller in class DelegateChronicleChanneleventPoller - the EventPoller instance to associate with this channel.public DocumentContext writingDocument(boolean metaData) throws UnrecoverableTimeoutException
MarshallableOutwritingDocument in interface DocumentWrittenwritingDocument in interface MarshallableOutwritingDocument in class DelegateChronicleChannelUnrecoverableTimeoutExceptionpublic DocumentContext acquireWritingDocument(boolean metaData) throws UnrecoverableTimeoutException
MarshallableOutacquireWritingDocument in interface DocumentWrittenacquireWritingDocument in interface MarshallableOutacquireWritingDocument in class DelegateChronicleChannelUnrecoverableTimeoutExceptionpublic WireOut acquireProducer()
InternalChronicleChannelacquireProducer in interface InternalChronicleChannelacquireProducer in class DelegateChronicleChannelpublic void releaseProducer()
InternalChronicleChannelreleaseProducer in interface InternalChronicleChannelreleaseProducer in class DelegateChronicleChannelpublic void close()
close in interface Closeableclose in interface AutoCloseableclose in class DelegateChronicleChannelCopyright © 2023. All rights reserved.