public enum NoDocumentContext extends Enum<NoDocumentContext> implements net.openhft.chronicle.wire.DocumentContext
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
long |
index() |
boolean |
isData() |
boolean |
isMetaData() |
boolean |
isNotComplete() |
boolean |
isPresent() |
void |
metaData(boolean metaData) |
int |
sourceId() |
static NoDocumentContext |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NoDocumentContext[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
net.openhft.chronicle.wire.Wire |
wire() |
public static final NoDocumentContext INSTANCE
public static NoDocumentContext[] values()
for (NoDocumentContext c : NoDocumentContext.values()) System.out.println(c);
public static NoDocumentContext valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic 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 boolean isData()
isData 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 long index()
index 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 © 2018. All rights reserved.