Package org.onosproject.net.meter
Interface MeterProvider
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringMETER_CAPABLEMeter capable property name.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidperformMeterOperation(DeviceId deviceId, MeterOperation meterOp)Performs a meter operation on the specified device with the specified parameters.voidperformMeterOperation(DeviceId deviceId, MeterOperations meterOps)Performs a batch of meter operation on the specified device with the specified parameters.
-
-
-
Field Detail
-
METER_CAPABLE
static final java.lang.String METER_CAPABLE
Meter capable property name. A driver is assumed to be meter capable if this property is undefined.- See Also:
- Constant Field Values
-
-
Method Detail
-
performMeterOperation
void performMeterOperation(DeviceId deviceId, MeterOperations meterOps)
Performs a batch of meter operation on the specified device with the specified parameters.- Parameters:
deviceId- device identifier on which the batch of group operations to be executedmeterOps- immutable list of meter operation
-
performMeterOperation
void performMeterOperation(DeviceId deviceId, MeterOperation meterOp)
Performs a meter operation on the specified device with the specified parameters.- Parameters:
deviceId- device identifier on which the batch of group operations to be executedmeterOp- a meter operation
-
-