Package org.onosproject.net.flow
Interface TableStatisticsEntry
-
- All Known Implementing Classes:
DefaultTableStatisticsEntry
public interface TableStatisticsEntryInterface for flow table statistics of a device.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description longactiveFlowEntries()Returns the number of active flow entries in this table.DeviceIddeviceId()Returns the device Id.booleanhasMaxSize()To check whether maxSize is present in this TableStatisticsEntry.booleanhasPacketsLookedup()To check whether packetLookedUp is present in this TableStatisticsEntry.longmaxSize()Returns the maximum size of this table.longpacketsLookedup()Returns the number of packets looked up in the table.longpacketsMatched()Returns the number of packets that successfully matched in the table.TableIdtable()Returns the table id.inttableId()Deprecated.
-
-
-
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;
-
-