public static class SessionContext.Count
extends java.lang.Object
SessionContext
instances as they are recreated.Constructor and Description |
---|
Count(java.lang.String uuid) |
Modifier and Type | Method and Description |
---|---|
int |
decrement()
Decrement the current
reference count and return the
new value atomically. |
int |
get()
Return the current number of references which this session is aware of.
|
int |
increment()
Increment the current
reference count and return the
new value atomically. |
public int get()
public int increment()
reference count
and return the
new value atomically.public int decrement()
reference count
and return the
new value atomically.