- Application is no longer blocked when programming hundreds of flows. The Barrier...
[controller.git] / opendaylight / sal / api / src / main / java / org / opendaylight / controller / sal / flowprogrammer / IPluginInFlowProgrammerService.java
index c72353055d1eb5db8dff3565bf69df3a0704bfe7..3c40b96cc74d240b116e3746a17820119e8b77b0 100644 (file)
@@ -76,9 +76,17 @@ public interface IPluginInFlowProgrammerService {
     Status removeAllFlows(Node node);
 
     /**
-     * Send synchronous Barrier message 
+     * Send Barrier message synchronously. The caller will be blocked until the
+     * Barrier reply arrives.
      * 
      * @param node
      */
-    Status sendBarrierMessage(Node node);
+    Status syncSendBarrierMessage(Node node);
+
+    /**
+     * Send Barrier message asynchronously. The caller is not blocked.
+     * 
+     * @param node
+     */
+    Status asyncSendBarrierMessage(Node node);
 }