Atomically increases reference count by one.
Atomically increases reference count by one.
reference count after increase
Atomically increases reference count only if the reference counter is already greater than 0.
Atomically increases reference count only if the reference counter is already greater than 0.
true if reference counter was greater than zero and has been increased
Resets state of all counters to 0
Returns current reference count for the given key.
Returns current reference count for the given key. This value may be constantly changing, so do not use it for synchronization purposes.
Atomically decreases reference count by n
.
Atomically decreases reference count by n
.
reference count after decrease
IllegalStateException
if the reference count before decrease is less than n
Atomically counts references to objects of any type