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() |
void |
setValue(int value) |
boolean |
tryLockNanosValue(long nanos) |
boolean |
tryLockValue() |
void |
unlockValue() |
int getValue()
void setValue(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 InterruptedException,
IllegalStateException
void unlockValue()
throws IllegalMonitorStateException
IllegalMonitorStateExceptionCopyright © 2014. All Rights Reserved.