Example usage for Java org.apache.zookeeper StatsTrack fields, constructors, methods, implement or subclass
The text is from its open source code.
StatsTrack(String stats) the stat string should be of the form count=int,bytes=long if stats is called with null the count and bytes are initialized to -1. |
long | getBytes() get the count of bytes allowed as part of quota |
int | getCount() get the count of nodes allowed as part of quota |
void | setBytes(long bytes) set teh bytes for this stat tracker. |
void | setCount(int count) set the count for this stat tracker. |
String | toString() |