Interface MeterProvider

  • All Superinterfaces:
    Provider

    public interface MeterProvider
    extends Provider
    Abstraction of a Meter provider.
    • 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 executed
        meterOps - 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 executed
        meterOp - a meter operation