public interface IntValue extends Closeable
| Modifier and Type | Method and Description |
|---|---|
int |
addAtomicValue(int delta) |
int |
addValue(int delta) |
default void |
close()
Closes this resource, potentially preventing parts of it from being used again
and potentially relinquishing resources held.
|
boolean |
compareAndSwapValue(int expected,
int value) |
int |
getValue() |
int |
getVolatileValue() |
default boolean |
isClosed()
Is this object closed
|
void |
setOrderedValue(int value) |
void |
setValue(int value) |
closeQuietly, closeQuietlyisClosingint getValue()
throws IllegalStateException,
BufferUnderflowException
void setValue(int value)
throws IllegalStateException,
BufferOverflowException
int getVolatileValue()
throws IllegalStateException,
BufferUnderflowException
void setOrderedValue(int value)
throws IllegalStateException,
BufferOverflowException
int addValue(int delta)
throws IllegalStateException,
BufferUnderflowException
int addAtomicValue(int delta)
throws IllegalStateException,
BufferUnderflowException
boolean compareAndSwapValue(int expected,
int value)
throws IllegalStateException,
BufferOverflowException
default boolean isClosed()
QueryCloseableisClosed in interface QueryCloseabledefault void close()
CloseableThis method is idem-potent.
close in interface AutoCloseableclose in interface CloseableCopyright © 2022. All rights reserved.