public interface MeterRequest
Modifier and Type | Interface and Description |
---|---|
static interface |
MeterRequest.Builder
A meter builder.
|
static class |
MeterRequest.Type |
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.
|
java.util.Optional<MeterContext> |
context()
Returns the callback context for this meter.
|
DeviceId |
deviceId()
The target device for this meter.
|
boolean |
isBurst()
Signals whether this meter applies to bursts only.
|
Meter.Unit |
unit()
The unit used within this meter.
|
DeviceId deviceId()
ApplicationId appId()
Meter.Unit unit()
boolean isBurst()
java.util.Collection<Band> bands()
java.util.Optional<MeterContext> context()