public interface DocumentContext extends net.openhft.chronicle.core.io.Closeable, SourceContext
Modifier and Type | Method and Description |
---|---|
default boolean |
isData() |
boolean |
isMetaData() |
boolean |
isNotComplete() |
boolean |
isPresent() |
void |
metaData(boolean metaData)
Deprecated.
|
default void |
rollbackOnClose()
Call this if you have detected an error condition and you want the context
rolled back when it is closed, rather than half a message committed
|
Wire |
wire() |
close, closeQuietly, closeQuietly, isClosed, notifyClosing
index, sourceId
boolean isMetaData()
@Deprecated void metaData(boolean metaData)
metaData
- write as metaData instead of data if true.boolean isPresent()
default boolean isData()
@Nullable Wire wire()
boolean isNotComplete()
default void rollbackOnClose()
Copyright © 2019. All rights reserved.