public class JettyDocumentContext extends Object implements net.openhft.chronicle.wire.DocumentContext
| Constructor and Description |
|---|
JettyDocumentContext(int sourceId,
java.util.function.Consumer<net.openhft.chronicle.wire.Wire> wireConsumer) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
long |
index() |
boolean |
isMetaData() |
boolean |
isNotComplete() |
boolean |
isPresent() |
void |
metaData(boolean metaData) |
void |
reset() |
int |
sourceId() |
net.openhft.chronicle.wire.Wire |
wire() |
public JettyDocumentContext(int sourceId,
java.util.function.Consumer<net.openhft.chronicle.wire.Wire> wireConsumer)
public void reset()
public long index()
index in interface net.openhft.chronicle.wire.SourceContextpublic boolean isMetaData()
isMetaData in interface net.openhft.chronicle.wire.DocumentContextpublic void metaData(boolean metaData)
metaData in interface net.openhft.chronicle.wire.DocumentContextpublic boolean isPresent()
isPresent in interface net.openhft.chronicle.wire.DocumentContextpublic net.openhft.chronicle.wire.Wire wire()
wire in interface net.openhft.chronicle.wire.DocumentContextpublic int sourceId()
sourceId in interface net.openhft.chronicle.wire.SourceContextpublic boolean isNotComplete()
isNotComplete in interface net.openhft.chronicle.wire.DocumentContextpublic void close()
close in interface Closeableclose in interface AutoCloseableCopyright © 2017. All rights reserved.