public class MapChannel<VALUE,REPLY>
extends net.openhft.chronicle.core.io.SimpleCloseable
implements net.openhft.chronicle.wire.channel.ChronicleChannel
| Constructor and Description |
|---|
MapChannel(String mapName,
MapService<VALUE,REPLY> mapService,
net.openhft.chronicle.wire.channel.ChronicleContext context,
net.openhft.chronicle.wire.channel.ChronicleChannelCfg channelCfg) |
| Modifier and Type | Method and Description |
|---|---|
net.openhft.chronicle.wire.DocumentContext |
acquireWritingDocument(boolean metaData) |
net.openhft.chronicle.wire.channel.ChronicleChannelCfg |
channelCfg() |
static <VALUE,REPLY> |
createMap(String mapName,
MapService<VALUE,REPLY> mapService,
net.openhft.chronicle.wire.channel.ChronicleContext context) |
net.openhft.chronicle.wire.channel.ChannelHeader |
headerIn() |
net.openhft.chronicle.wire.channel.ChannelHeader |
headerOut() |
long |
lastTestMessage() |
<T> T |
methodWriter(Class<T> tClass,
Class<?>... additional) |
net.openhft.chronicle.wire.DocumentContext |
readingDocument() |
void |
testMessage(long now) |
net.openhft.chronicle.wire.DocumentContext |
writingDocument(boolean metaData) |
close, isClosed, performCloseclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waiteventHandlerAsRunnable, newChannel, newChannel, readOneclose, closeQuietly, closeQuietlybuilder, methodWriterBuilder, methodWriterBuilder, recordHistory, writeBytes, writeDocument, writeDocument, writeMap, writeMessage, writeMessage, writeText, writingDocumentrollbackIfNotComplete, writingIsCompletemethodReader, methodReaderBuilder, readBytes, readBytes, readDocument, readMap, readText, readTextpublic MapChannel(String mapName, MapService<VALUE,REPLY> mapService, net.openhft.chronicle.wire.channel.ChronicleContext context, net.openhft.chronicle.wire.channel.ChronicleChannelCfg channelCfg)
public static <VALUE,REPLY> ChronicleMap<net.openhft.chronicle.bytes.Bytes<?>,VALUE> createMap(String mapName, MapService<VALUE,REPLY> mapService, net.openhft.chronicle.wire.channel.ChronicleContext context) throws IOException
IOExceptionpublic net.openhft.chronicle.wire.channel.ChronicleChannelCfg channelCfg()
channelCfg in interface net.openhft.chronicle.wire.channel.ChronicleChannelpublic net.openhft.chronicle.wire.channel.ChannelHeader headerOut()
headerOut in interface net.openhft.chronicle.wire.channel.ChronicleChannelpublic net.openhft.chronicle.wire.channel.ChannelHeader headerIn()
headerIn in interface net.openhft.chronicle.wire.channel.ChronicleChannelpublic void testMessage(long now)
testMessage in interface net.openhft.chronicle.wire.channel.ChronicleChannelpublic long lastTestMessage()
lastTestMessage in interface net.openhft.chronicle.wire.channel.ChronicleChannel@NotNull public net.openhft.chronicle.wire.DocumentContext readingDocument()
readingDocument in interface net.openhft.chronicle.wire.MarshallableIn@NotNull
public <T> T methodWriter(@NotNull
Class<T> tClass,
Class<?>... additional)
methodWriter in interface net.openhft.chronicle.wire.MarshallableOutpublic net.openhft.chronicle.wire.DocumentContext writingDocument(boolean metaData)
throws net.openhft.chronicle.wire.UnrecoverableTimeoutException
writingDocument in interface net.openhft.chronicle.wire.DocumentWrittenwritingDocument in interface net.openhft.chronicle.wire.MarshallableOutnet.openhft.chronicle.wire.UnrecoverableTimeoutExceptionpublic net.openhft.chronicle.wire.DocumentContext acquireWritingDocument(boolean metaData)
throws net.openhft.chronicle.wire.UnrecoverableTimeoutException
acquireWritingDocument in interface net.openhft.chronicle.wire.DocumentWrittenacquireWritingDocument in interface net.openhft.chronicle.wire.MarshallableOutnet.openhft.chronicle.wire.UnrecoverableTimeoutExceptionCopyright © 2024. All rights reserved.