Interface PiActionProfileModel


  • @Beta
    public interface PiActionProfileModel
    Model of an action profile in a protocol-independent pipeline.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean hasSelector()
      Returns true if this action profile implements dynamic selection, false otherwise.
      PiActionProfileId id()
      Returns the ID of this action profile.
      int maxGroupSize()
      Returns the maximum number of members a group of this action profile can hold.
      long size()
      Returns the maximum number of member entries that this action profile can hold.
      java.util.Collection<PiTableId> tables()
      Returns the collection of table IDs that use this action profile.
    • Method Detail

      • id

        PiActionProfileId id()
        Returns the ID of this action profile.
        Returns:
        action profile ID
      • tables

        java.util.Collection<PiTableId> tables()
        Returns the collection of table IDs that use this action profile.
        Returns:
        collection of table models
      • hasSelector

        boolean hasSelector()
        Returns true if this action profile implements dynamic selection, false otherwise.
        Returns:
        true if action profile implements dynamic selection, false otherwise
      • size

        long size()
        Returns the maximum number of member entries that this action profile can hold.
        Returns:
        maximum number of member entries
      • maxGroupSize

        int maxGroupSize()
        Returns the maximum number of members a group of this action profile can hold. This method is meaningful only if the action profile implements dynamic selection. 0 signifies that an explicit limit is not set.
        Returns:
        maximum number of members a group can hold