Interface PiMeterModel


  • @Beta
    public interface PiMeterModel
    Model of a meter in a protocol-independent pipeline.
    • Method Detail

      • id

        PiMeterId id()
        Returns the ID of this meter.
        Returns:
        meter ID
      • meterType

        PiMeterType meterType()
        Returns the type of this meter.
        Returns:
        meter type
      • table

        PiTableId table()
        Returns the table model associated with this meter. Meaningful only if the meter type is PiMeterType.DIRECT.
        Returns:
        table model
      • size

        long size()
        Returns the number of cells of this meter. Meaningful only if the meter type is PiMeterType.INDIRECT.
        Returns:
        size