Java org.apache.zookeeper StatsTrack fields, constructors, methods, implement or subclass

Example usage for Java org.apache.zookeeper StatsTrack fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.zookeeper StatsTrack.

The text is from its open source code.

Constructor

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.

Method

longgetBytes()
get the count of bytes allowed as part of quota
intgetCount()
get the count of nodes allowed as part of quota
voidsetBytes(long bytes)
set teh bytes for this stat tracker.
voidsetCount(int count)
set the count for this stat tracker.
StringtoString()