public class TextLongReference extends AbstractReference implements LongReference
bytes, offset
Constructor and Description |
---|
TextLongReference() |
Modifier and Type | Method and Description |
---|---|
long |
addAtomicValue(long delta)
Deprecated.
|
long |
addValue(long delta) |
void |
bytesStore(@NotNull BytesStore bytes,
long offset,
long length)
This setter for a data type which points to an underlying ByteStore.
|
boolean |
compareAndSwapValue(long expected,
long value) |
long |
getValue() |
long |
getVolatileValue()
Deprecated.
|
long |
getVolatileValue(long closedValue)
Deprecated.
|
long |
maxSize() |
void |
setOrderedValue(long value)
Deprecated.
|
void |
setValue(long value) |
void |
setVolatileValue(long value)
Deprecated.
|
@NotNull String |
toString() |
static void |
write(@NotNull Bytes<?> bytes,
long value) |
acceptNewBytesStore, address, bytesStore, lock, offset, performClose, tryLock
assertCloseable, assertCloseablesClosed, clearUsedByThread, close, createdHere, disableCloseableTracing, disableThreadSafetyCheck, disableThreadSafetyCheck, enableCloseableTracing, gcAndWaitForCloseablesToClose, isClosed, isClosing, isInUserThread, referenceId, resetUsedByThread, shouldPerformCloseInBackground, shouldWaitForClosed, singleThreadedCheckDisabled, singleThreadedCheckDisabled, singleThreadedCheckReset, threadSafetyCheck, throwExceptionIfClosed, throwExceptionIfClosedInSetter, unmonitor, waitForCloseablesToClose, waitForClosed, warnAndCloseIfNotClosed
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
close, isClosed, setMaxValue, setMinValue, vanillaThreadLock
public static void write(@NotNull @NotNull Bytes<?> bytes, long value) throws BufferOverflowException, IllegalArgumentException, IllegalStateException
public void bytesStore(@NotNull @NotNull BytesStore bytes, long offset, long length) throws IllegalArgumentException, IllegalStateException, BufferOverflowException
Byteable
bytesStore
in interface Byteable
bytesStore
in class AbstractReference
bytes
- the fix point ByteStoreoffset
- the offset within the ByteStorelength
- the length in the ByteStoreIllegalArgumentException
IllegalStateException
BufferOverflowException
public long getValue() throws IllegalStateException
getValue
in interface net.openhft.chronicle.core.values.LongValue
IllegalStateException
public void setValue(long value) throws IllegalStateException
setValue
in interface net.openhft.chronicle.core.values.LongValue
IllegalStateException
@Deprecated public long getVolatileValue() throws IllegalStateException
getVolatileValue
in interface net.openhft.chronicle.core.values.LongValue
IllegalStateException
@Deprecated public void setVolatileValue(long value) throws IllegalStateException
setVolatileValue
in interface net.openhft.chronicle.core.values.LongValue
IllegalStateException
@Deprecated public long getVolatileValue(long closedValue)
getVolatileValue
in interface net.openhft.chronicle.core.values.LongValue
public long maxSize()
@Deprecated public void setOrderedValue(long value) throws IllegalStateException
setOrderedValue
in interface net.openhft.chronicle.core.values.LongValue
IllegalStateException
@NotNull public @NotNull String toString()
toString
in class net.openhft.chronicle.core.io.AbstractCloseable
public long addValue(long delta) throws IllegalStateException
addValue
in interface net.openhft.chronicle.core.values.LongValue
IllegalStateException
@Deprecated public long addAtomicValue(long delta) throws IllegalStateException
addAtomicValue
in interface net.openhft.chronicle.core.values.LongValue
IllegalStateException
public boolean compareAndSwapValue(long expected, long value) throws IllegalStateException
compareAndSwapValue
in interface net.openhft.chronicle.core.values.LongValue
IllegalStateException
Copyright © 2022. All rights reserved.