Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
- 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
diff --git
a/opendaylight/sal/api/src/main/java/org/opendaylight/controller/sal/flowprogrammer/IPluginInFlowProgrammerService.java
b/opendaylight/sal/api/src/main/java/org/opendaylight/controller/sal/flowprogrammer/IPluginInFlowProgrammerService.java
index c72353055d1eb5db8dff3565bf69df3a0704bfe7..3c40b96cc74d240b116e3746a17820119e8b77b0 100644
(file)
--- a/
opendaylight/sal/api/src/main/java/org/opendaylight/controller/sal/flowprogrammer/IPluginInFlowProgrammerService.java
+++ b/
opendaylight/sal/api/src/main/java/org/opendaylight/controller/sal/flowprogrammer/IPluginInFlowProgrammerService.java
@@
-76,9
+76,17
@@
public interface IPluginInFlowProgrammerService {
Status removeAllFlows(Node node);
/**
Status removeAllFlows(Node node);
/**
- * Send synchronous Barrier message
+ * Send Barrier message synchronously. The caller will be blocked until the
+ * Barrier reply arrives.
*
* @param node
*/
*
* @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);
}
}