Interface PiCounterModel


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

      • id

        PiCounterId id()
        Returns the ID of this counter.
        Returns:
        counter ID
      • counterType

        PiCounterType counterType()
        Returns the type of counter.
        Returns:
        counter type
      • table

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

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