public class RpcUserAuthCounter
extends java.lang.Object
| Constructor and Description |
|---|
RpcUserAuthCounter() |
| Modifier and Type | Method and Description |
|---|---|
void |
clearCount()
Clears all counts for the RPC server.
|
int |
decrementAndGet(java.lang.String authPrefix)
Decrement and get the count for the specified user auth prefix.
|
int |
getCount(java.lang.String authPrefix)
Gets the count for the specified user auth prefix.
|
int |
incrementAndGet(java.lang.String authPrefix)
Increment and get the count for the specified user auth prefix.
|
java.lang.String |
toString()
Returns the string value of the user auth counter.
|
public int incrementAndGet(java.lang.String authPrefix)
authPrefix - the auth prefixpublic int decrementAndGet(java.lang.String authPrefix)
authPrefix - the auth prefixpublic int getCount(java.lang.String authPrefix)
authPrefix - the auth prefixpublic void clearCount()
public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2021 Perforce Software. All Rights Reserved.