X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fstatisticsmanager%2Fapi%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fstatisticsmanager%2FIStatisticsManager.java;h=98977f6e91d15b6eee512d941365133cdb387697;hp=db7489d47073c8e0a3423819aeab84cb8ef8a490;hb=cb84401ff36666443d7659f49713fff3c423cb26;hpb=11837100975c9ad113e12668c09ecd78f9433f73 diff --git a/opendaylight/statisticsmanager/api/src/main/java/org/opendaylight/controller/statisticsmanager/IStatisticsManager.java b/opendaylight/statisticsmanager/api/src/main/java/org/opendaylight/controller/statisticsmanager/IStatisticsManager.java index db7489d470..98977f6e91 100644 --- a/opendaylight/statisticsmanager/api/src/main/java/org/opendaylight/controller/statisticsmanager/IStatisticsManager.java +++ b/opendaylight/statisticsmanager/api/src/main/java/org/opendaylight/controller/statisticsmanager/IStatisticsManager.java @@ -15,9 +15,11 @@ import java.util.Map; import org.opendaylight.controller.forwardingrulesmanager.FlowEntry; import org.opendaylight.controller.sal.core.Node; import org.opendaylight.controller.sal.core.NodeConnector; +import org.opendaylight.controller.sal.core.NodeTable; import org.opendaylight.controller.sal.reader.FlowOnNode; import org.opendaylight.controller.sal.reader.NodeConnectorStatistics; import org.opendaylight.controller.sal.reader.NodeDescription; +import org.opendaylight.controller.sal.reader.NodeTableStatistics; /** * Interface which defines the available methods for retrieving @@ -79,4 +81,20 @@ public interface IStatisticsManager { * @return */ List getNodeConnectorStatistics(Node node); + + /** + * Returns the statistics for the specified table of the node + * + * @param nodeTable + * @return + */ + NodeTableStatistics getNodeTableStatistics(NodeTable nodeTable); + + /** + * Returns the statistics for all the tables of the node + * + * @param nodeTable + * @return + */ + List getNodeTableStatistics(Node node); }