public interface Meter extends PiTranslatable
| Modifier and Type | Interface and Description | 
|---|---|
static interface  | 
Meter.Builder
A meter builder. 
 | 
static class  | 
Meter.Unit  | 
| Modifier and Type | Method and Description | 
|---|---|
ApplicationId | 
appId()
The id of the application which created this meter. 
 | 
Collection<Band> | 
bands()
The collection of bands to apply on the dataplane. 
 | 
long | 
bytesSeen()
Number of bytes processed by this meter. 
 | 
DeviceId | 
deviceId()
The target device for this meter. 
 | 
MeterId | 
id()
Deprecated. 
 
in Nightingale release (version 1.13.0). Use  
meterCellId() instead. | 
boolean | 
isBurst()
Signals whether this meter applies to bursts only. 
 | 
long | 
life()
The lifetime in seconds of this meter. 
 | 
MeterCellId | 
meterCellId()
Returns the meter cell identifier of this meter. 
 | 
long | 
packetsSeen()
Number of packets processed by this meter. 
 | 
long | 
referenceCount()
The number of flows pointing to this meter. 
 | 
MeterState | 
state()
Fetches the state of this meter. 
 | 
Meter.Unit | 
unit()
The unit used within this meter. 
 | 
DeviceId deviceId()
@Deprecated MeterId id()
meterCellId() instead.MeterCellId meterCellId()
ApplicationId appId()
Meter.Unit unit()
boolean isBurst()
Collection<Band> bands()
MeterState state()
long life()
long referenceCount()
long packetsSeen()
long bytesSeen()