public class TableStatisticsCommand extends AbstractShellCommand
log| Constructor and Description |
|---|
TableStatisticsCommand() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doExecute()
Body of the shell 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, error, execute, get, getService, jsonForEntity, mapper, outputJson, printclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdecode, encodeprotected void doExecute()
AbstractShellCommanddoExecute 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