public interface IntValue
Modifier and Type | Method and Description |
---|---|
int |
addAtomicValue(int delta) |
int |
addValue(int delta) |
void |
busyLockValue() |
boolean |
compareAndSwapValue(int expected,
int value) |
int |
getValue() |
int |
getVolatileValue() |
void |
setOrderedValue(int value) |
void |
setValue(int value) |
boolean |
tryLockNanosValue(long nanos) |
boolean |
tryLockValue() |
void |
unlockValue() |
int getValue()
void setValue(int value)
int getVolatileValue()
void setOrderedValue(int value)
int addValue(int delta)
int addAtomicValue(int delta)
boolean compareAndSwapValue(int expected, int value)
boolean tryLockValue()
boolean tryLockNanosValue(long nanos)
void busyLockValue() throws IllegalStateException, InterruptedException
void unlockValue() throws IllegalMonitorStateException
IllegalMonitorStateException
Copyright © 2019. All rights reserved.