public class TableStatisticsCommand extends AbstractShellCommand
| Constructor and Description | 
|---|
| TableStatisticsCommand() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | execute()Executes this command. | 
| protected SortedMap<Device,List<TableStatisticsEntry>> | getSortedTableStats(DeviceService deviceService,
                   FlowRuleService flowService)Returns the list of table statistics sorted using the device ID URIs and table IDs. | 
| protected void | printTableStats(Device d,
               List<TableStatisticsEntry> tableStats)Prints flow table statistics. | 
annotations, annotations, annotations, appId, codec, doExecute, error, get, getService, jsonForEntity, mapper, outputJson, printcheckInterrupted, executeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdecode, encodeprotected void execute()
AbstractShellCommandexecute in class AbstractShellCommandprotected void printTableStats(Device d, List<TableStatisticsEntry> tableStats)
d - the devicetableStats - the set of flow table statistics for that deviceprotected SortedMap<Device,List<TableStatisticsEntry>> getSortedTableStats(DeviceService deviceService, FlowRuleService flowService)
deviceService - device serviceflowService - flow rule service