commit | 72cb19a90e96f770c78c3489471ef723d22fa90d | [log] [tgz] |
---|---|---|
author | Brian O'Connor <bocon@onlab.us> | Fri Jan 16 16:14:41 2015 -0800 |
committer | Gerrit Code Review <gerrit@onlab.us> | Wed Feb 11 21:28:01 2015 +0000 |
tree | 4f712f30332f0dc38062c6772b44d7a1b17f4141 | |
parent | a0eb0a8781cd18c939ae771e6414333904949b1d [diff] [blame] |
Implementation of new Flow Subsystem: The subsystem no longer returns futures for tracking completion of work. Notifications are explicitely returned via a call back mechanism. Also, the subsystem is now asynchronous. Change-Id: I1a4cef931c24820f9ae9ed9a5398f163f05dfbc9 more flowservice improvements Change-Id: I5c9c1b6be4b2ebfa523b64f6f52e7634b7d3e05f more flowservice impl Change-Id: I05f6774460effb53ced8c36844bcda2f8f6c096f Manager to store functional (at least i believe it) Change-Id: I09b04989bd1004c98fe0bafed4c76714b9155d53 flow subsystem functional: need to fix unit tests Change-Id: I1667f25b91320f625a03e5e1d5e92823184d9de0 flow subsystem functional Change-Id: I429b3335c16d4fc16f5d55f233dd37c4d1d6111d finished refactor of flow subsystem Change-Id: I1899abc6ff6a974a2018d936cc555049c70a6804 fix for null flow provider to use new api Change-Id: If2fd9bd5baf74d9c61c5c8085cef8bc2d204cbdc
diff --git a/core/api/src/main/java/org/onosproject/net/flow/FlowRuleStore.java b/core/api/src/main/java/org/onosproject/net/flow/FlowRuleStore.java index 6fca2c3..d3aebba 100644 --- a/core/api/src/main/java/org/onosproject/net/flow/FlowRuleStore.java +++ b/core/api/src/main/java/org/onosproject/net/flow/FlowRuleStore.java
@@ -15,8 +15,6 @@ */ package org.onosproject.net.flow; -import java.util.concurrent.Future; - import org.onosproject.net.DeviceId; import org.onosproject.store.Store; @@ -54,6 +52,7 @@ * * @param rule the flow rule to add */ + @Deprecated void storeFlowRule(FlowRule rule); /** @@ -61,10 +60,9 @@ * * @param batchOperation batch of flow rules. * A batch can contain flow rules for a single device only. - * @return Future response indicating success/failure of the batch operation - * all the way down to the device. + * */ - Future<CompletedBatchOperation> storeBatch(FlowRuleBatchOperation batchOperation); + void storeBatch(FlowRuleBatchOperation batchOperation); /** * Invoked on the completion of a storeBatch operation.