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.DocumentContext
public void metaData(boolean metaData)
metaData
in interface net.openhft.chronicle.wire.DocumentContext
public boolean isPresent()
isPresent
in interface net.openhft.chronicle.wire.DocumentContext
public boolean isData()
isData
in interface net.openhft.chronicle.wire.DocumentContext
public net.openhft.chronicle.wire.Wire wire()
wire
in interface net.openhft.chronicle.wire.DocumentContext
public int sourceId()
sourceId
in interface net.openhft.chronicle.wire.SourceContext
public long index()
index
in interface net.openhft.chronicle.wire.SourceContext
public boolean isNotComplete()
isNotComplete
in interface net.openhft.chronicle.wire.DocumentContext
public void close()
close
in interface Closeable
close
in interface AutoCloseable
Copyright © 2018. All rights reserved.