public interface WireCommon
| Modifier and Type | Method and Description |
|---|---|
net.openhft.chronicle.bytes.Bytes<?> |
bytes() |
net.openhft.chronicle.bytes.BytesComment<?> |
bytesComment() |
net.openhft.chronicle.core.pool.ClassLookup |
classLookup() |
void |
classLookup(net.openhft.chronicle.core.pool.ClassLookup classLookup)
Define how classes should be looked up.
|
void |
clear()
reset the state of the current wire for reuse.
|
boolean |
endUse()
Check the Wire was not used by another thread.
|
long |
headerNumber() |
WireOut |
headerNumber(long headerNumber) |
boolean |
isTextWire() |
net.openhft.chronicle.core.values.BooleanValue |
newBooleanReference() |
net.openhft.chronicle.core.values.IntValue |
newIntReference() |
net.openhft.chronicle.core.values.LongArrayValues |
newLongArrayReference() |
net.openhft.chronicle.core.values.LongValue |
newLongReference() |
default net.openhft.chronicle.core.values.TwoLongValue |
newTwoLongReference() |
default boolean |
notCompleteIsNotPresent()
If a message is marked as NOT_COMPLETE is it still present.
|
default void |
notCompleteIsNotPresent(boolean notCompleteArePresent) |
Object |
parent()
Obtain the parent class of this wire if there is one
|
void |
parent(Object parent)
Assign a parent object to this wire for later retrieval.
|
net.openhft.chronicle.threads.Pauser |
pauser() |
void |
pauser(net.openhft.chronicle.threads.Pauser pauser) |
boolean |
startUse()
Used to check that the wire is being used by only one thread
|
void classLookup(net.openhft.chronicle.core.pool.ClassLookup classLookup)
classLookup - to usenet.openhft.chronicle.core.pool.ClassLookup classLookup()
void pauser(net.openhft.chronicle.threads.Pauser pauser)
pauser - to use for blocking operations.net.openhft.chronicle.threads.Pauser pauser()
@NotNull net.openhft.chronicle.bytes.Bytes<?> bytes()
net.openhft.chronicle.bytes.BytesComment<?> bytesComment()
@NotNull net.openhft.chronicle.core.values.IntValue newIntReference()
@NotNull net.openhft.chronicle.core.values.LongValue newLongReference()
@NotNull default net.openhft.chronicle.core.values.TwoLongValue newTwoLongReference()
@NotNull net.openhft.chronicle.core.values.LongArrayValues newLongArrayReference()
void clear()
@Nullable Object parent()
void parent(Object parent)
parent - to set, or null if there isn't one.boolean startUse()
boolean endUse()
default boolean notCompleteIsNotPresent()
default void notCompleteIsNotPresent(boolean notCompleteArePresent)
@NotNull WireOut headerNumber(long headerNumber)
long headerNumber()
@NotNull net.openhft.chronicle.core.values.BooleanValue newBooleanReference()
boolean isTextWire()
Copyright © 2019. All rights reserved.