|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectome.services.sessions.SessionContext.Count
public static class SessionContext.Count
Synchronized counter which can be passed between SessionContext
instances as they are recreated.
ticket:2804
Constructor Summary | |
---|---|
SessionContext.Count(String uuid)
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SessionContext.Count(String uuid)
Method Detail |
---|
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Version: Beta4.2.1-r8614-Beta4.2-b41
Copyright © 2009 The University of Dundee. All Rights Reserved.