Revert "Checkstyle enforcer"
[controller.git] / opendaylight / sal / api / src / main / java / org / opendaylight / controller / sal / reader / IPluginInReadService.java
index c563037f1e6be9bce538780ba0dd8c93b2c3e31c..1b950d7cf592df1a78fc775d3a4c390a274d4efa 100644 (file)
@@ -13,6 +13,7 @@ import java.util.List;
 
 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.flowprogrammer.Flow;
 
 /**
@@ -63,10 +64,25 @@ public interface IPluginInReadService {
     public List<NodeConnectorStatistics> readAllNodeConnector(Node node,
             boolean cached);
 
+    /**
+     * Returns the table statistics for the node
+     * @param node
+     * @return
+     */
+    public NodeTableStatistics readNodeTable(NodeTable table, boolean cached);
+
+    /**
+     * Returns all the table statistics for the node
+     * @param node
+     * @return
+     */
+    public List<NodeTableStatistics> readAllNodeTable(Node node, boolean cached);
+
     /**
      * Returns the averaged transmit rate for the specified node connector
      * @param connector
      * @return tx rate [bps]
      */
     public long getTransmitRate(NodeConnector connector);
+
 }