public interface Meter
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.
|
java.util.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()
This meters id.
|
boolean |
isBurst()
Signals whether this meter applies to bursts only.
|
long |
life()
The lifetime in seconds 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()
MeterId id()
ApplicationId appId()
Meter.Unit unit()
boolean isBurst()
java.util.Collection<Band> bands()
MeterState state()
long life()
long referenceCount()
long packetsSeen()
long bytesSeen()