public class RpcUserAuthCounter extends Object
Constructor and Description |
---|
RpcUserAuthCounter() |
Modifier and Type | Method and Description |
---|---|
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.
|
public int incrementAndGet(String authPrefix)
authPrefix
- the auth prefixpublic int decrementAndGet(String authPrefix)
authPrefix
- the auth prefixpublic int getCount(String authPrefix)
authPrefix
- the auth prefixpublic void clearCount()
Copyright © 2017 Perforce Software. All Rights Reserved.