|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.perforce.p4java.impl.mapbased.rpc.helper.RpcUserAuthCounter
public class RpcUserAuthCounter
Keeps track of the user's login/out counts per RPC server.
Constructor Summary | |
---|---|
RpcUserAuthCounter()
|
Method Summary | |
---|---|
void |
clearCount()
Clears all counts for the RPC server. |
int |
decrementAndGet(String authPrefix)
Decrement and get the count for the specified user auth prefix. |
int |
getCount(String authPrefix)
Gets the count for the specified user auth prefix. |
int |
incrementAndGet(String authPrefix)
Increment and get the count for the specified user auth prefix. |
String |
toString()
Returns the string value of the user auth counter. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RpcUserAuthCounter()
Method Detail |
---|
public int incrementAndGet(String authPrefix)
authPrefix
- the auth prefix
public int decrementAndGet(String authPrefix)
authPrefix
- the auth prefix
public int getCount(String authPrefix)
authPrefix
- the auth prefix
public void clearCount()
public String toString()
toString
in class Object
the
- string value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |