public final class DefaultTableStatisticsEntry extends Object implements TableStatisticsEntry
| Modifier and Type | Class and Description | 
|---|---|
| static class  | DefaultTableStatisticsEntry.Builder | 
| Constructor and Description | 
|---|
| DefaultTableStatisticsEntry(DeviceId deviceId,
                           int tableId,
                           long activeFlowEntries,
                           long packetsLookedupCount,
                           long packetsMatchedCount)Deprecated. 
 since 1.15, suggest using the Builder class. | 
| Modifier and Type | Method and Description | 
|---|---|
| long | activeFlowEntries()Returns the number of active flow entries in this table. | 
| static DefaultTableStatisticsEntry.Builder | builder() | 
| DeviceId | deviceId()Returns the device Id. | 
| boolean | hasMaxSize()To check whether maxSize is present in this TableStatisticsEntry. | 
| boolean | hasPacketsLookedup()To check whether packetLookedUp is present in this TableStatisticsEntry. | 
| long | maxSize()Returns the maximum size of this table. | 
| long | packetsLookedup()Returns the number of packets looked up in the table. | 
| long | packetsMatched()Returns the number of packets that successfully matched in the table. | 
| TableId | table()Returns the table id. | 
| int | tableId()Returns the integer table id. | 
| String | toString() | 
@Deprecated public DefaultTableStatisticsEntry(DeviceId deviceId, int tableId, long activeFlowEntries, long packetsLookedupCount, long packetsMatchedCount)
deviceId - device identifiertableId - index table identifieractiveFlowEntries - number of active flow entries in the tablepacketsLookedupCount - number of packets looked up in tablepacketsMatchedCount - number of packets that hit tablepublic int tableId()
TableStatisticsEntrytableId in interface TableStatisticsEntrypublic TableId table()
TableStatisticsEntrytable in interface TableStatisticsEntrypublic long activeFlowEntries()
TableStatisticsEntryactiveFlowEntries in interface TableStatisticsEntrypublic long packetsLookedup()
TableStatisticsEntrypacketsLookedup in interface TableStatisticsEntrypublic long packetsMatched()
TableStatisticsEntrypacketsMatched in interface TableStatisticsEntrypublic DeviceId deviceId()
TableStatisticsEntrydeviceId in interface TableStatisticsEntrypublic long maxSize()
TableStatisticsEntrymaxSize in interface TableStatisticsEntrypublic boolean hasPacketsLookedup()
TableStatisticsEntryhasPacketsLookedup in interface TableStatisticsEntrypublic boolean hasMaxSize()
TableStatisticsEntryhasMaxSize in interface TableStatisticsEntrypublic static DefaultTableStatisticsEntry.Builder builder()