| Modifier and Type | Class and Description | 
|---|---|
static class  | 
DefaultBand.Builder  | 
ERR_MSG, MAX_PRECEDENCE, MIN_PRECEDENCE| Constructor and Description | 
|---|
DefaultBand(Band.Type type,
           long rate,
           Long burstSize,
           Short prec)  | 
| Modifier and Type | Method and Description | 
|---|---|
static DefaultBand.Builder | 
builder()  | 
Long | 
burst()
The burst size at which the meter applies. 
 | 
long | 
bytes()
Return the bytes seen by this band. 
 | 
Short | 
dropPrecedence()
Only meaningful in the case of a REMARK band type. 
 | 
long | 
packets()
Returns the packets seen by this band. 
 | 
long | 
rate()
The rate at which this meter applies. 
 | 
void | 
setBytes(long bytes)
Sets the number of bytes seen by this band. 
 | 
void | 
setPackets(long packets)
Sets the number of packets seen by this band. 
 | 
String | 
toString()  | 
Band.Type | 
type()
Signals the type of band to create. 
 | 
public long rate()
Bandpublic Long burst()
Bandpublic Short dropPrecedence()
BanddropPrecedence in interface Bandpublic Band.Type type()
Bandpublic long packets()
Bandpublic long bytes()
Bandpublic void setPackets(long packets)
BandEntrysetPackets in interface BandEntrypackets - a packet countpublic void setBytes(long bytes)
BandEntrypublic static DefaultBand.Builder builder()