Interface TableStatisticsEntry

  • All Known Implementing Classes:
    DefaultTableStatisticsEntry

    public interface TableStatisticsEntry
    Interface for flow table statistics of a device.
    • Method Detail

      • deviceId

        DeviceId deviceId()
        Returns the device Id.
        Returns:
        device id
      • tableId

        @Deprecated
        int tableId()
        Deprecated.
        Returns the integer table id.
        Returns:
        integer table id
      • table

        TableId table()
        Returns the table id.
        Returns:
        table id
      • activeFlowEntries

        long activeFlowEntries()
        Returns the number of active flow entries in this table.
        Returns:
        the number of active flow entries
      • packetsLookedup

        long packetsLookedup()
        Returns the number of packets looked up in the table.
        Returns:
        the number of packets looked up in the table
      • packetsMatched

        long packetsMatched()
        Returns the number of packets that successfully matched in the table.
        Returns:
        the number of packets that successfully matched in the table
      • maxSize

        long maxSize()
        Returns the maximum size of this table.
        Returns:
        the maximum size of this table
      • hasPacketsLookedup

        boolean hasPacketsLookedup()
        To check whether packetLookedUp is present in this TableStatisticsEntry.
        Returns:
        true if packetLookedUp is present, otherwise false;
      • hasMaxSize

        boolean hasMaxSize()
        To check whether maxSize is present in this TableStatisticsEntry.
        Returns:
        true if maxSize is present, otherwise false;