public class BinaryIntReference extends AbstractReference implements net.openhft.chronicle.core.values.IntValue
| Modifier and Type | Field and Description |
|---|---|
static int |
INT_NOT_COMPLETE |
bytes, offset| Constructor and Description |
|---|
BinaryIntReference() |
| Modifier and Type | Method and Description |
|---|---|
int |
addAtomicValue(int delta) |
int |
addValue(int delta) |
void |
bytesStore(@NotNull BytesStore bytes,
long offset,
long length)
This setter for a data type which points to an underlying ByteStore.
|
boolean |
compareAndSwapValue(int expected,
int value) |
int |
getValue() |
int |
getVolatileValue() |
long |
maxSize() |
void |
setOrderedValue(int value) |
void |
setValue(int value) |
@NotNull String |
toString() |
acceptNewBytesStore, address, bytesStore, offset, performClose, threadSafetyCheckassertCloseablesClosed, clearUsedByThread, close, createdHere, disableCloseableTracing, enableCloseableTracing, isClosed, isClosing, isInUserThread, performCloseInBackground, referenceId, resetUsedByThread, shouldPerformCloseInBackground, shouldWaitForClosed, throwExceptionIfClosed, throwExceptionIfClosedInSetter, unmonitor, waitForClosed, warnAndCloseIfNotClosedclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitclose, closeQuietly, closeQuietly, notifyClosingpublic static final int INT_NOT_COMPLETE
public void bytesStore(@NotNull
@NotNull BytesStore bytes,
long offset,
long length)
throws IllegalStateException,
IllegalArgumentException,
BufferOverflowException,
BufferUnderflowException
ByteablebytesStore in interface ByteablebytesStore in class AbstractReferencebytes - the fix point ByteStoreoffset - the offset within the ByteStorelength - the length in the ByteStoreIllegalStateExceptionIllegalArgumentExceptionBufferOverflowExceptionBufferUnderflowExceptionpublic long maxSize()
maxSize in interface ByteablemaxSize in class AbstractReference@NotNull public @NotNull String toString()
toString in class net.openhft.chronicle.core.io.AbstractCloseablepublic int getValue()
getValue in interface net.openhft.chronicle.core.values.IntValuepublic void setValue(int value)
setValue in interface net.openhft.chronicle.core.values.IntValuepublic int getVolatileValue()
getVolatileValue in interface net.openhft.chronicle.core.values.IntValuepublic void setOrderedValue(int value)
setOrderedValue in interface net.openhft.chronicle.core.values.IntValuepublic int addValue(int delta)
addValue in interface net.openhft.chronicle.core.values.IntValuepublic int addAtomicValue(int delta)
addAtomicValue in interface net.openhft.chronicle.core.values.IntValuepublic boolean compareAndSwapValue(int expected,
int value)
compareAndSwapValue in interface net.openhft.chronicle.core.values.IntValueCopyright © 2020. All rights reserved.