commit | a090a118ef445cd662ab3332283b11c8a7670623 | [log] [tgz] |
---|---|---|
author | Madan Jampani <madan.jampani@gmail.com> | Mon Jan 18 16:38:17 2016 -0800 |
committer | Gerrit Code Review <gerrit@onlab.us> | Tue Jan 19 19:37:37 2016 +0000 |
tree | b4b055ccc55d5228f867351e3afa6216fbb7c8ed | |
parent | 1f820048fefc5b4051142310f9c0a31ee4cfa419 [diff] [blame] |
Added DistributedPrimitive interface Added AsyncDistributedSet that provides async set operations Change-Id: I83494075a7973694ea6b7445ff4799b7a1a50641
diff --git a/core/api/src/main/java/org/onosproject/store/service/DistributedSetBuilder.java b/core/api/src/main/java/org/onosproject/store/service/DistributedSetBuilder.java index f5a44c9..09ba794 100644 --- a/core/api/src/main/java/org/onosproject/store/service/DistributedSetBuilder.java +++ b/core/api/src/main/java/org/onosproject/store/service/DistributedSetBuilder.java
@@ -129,4 +129,13 @@ * @throws java.lang.RuntimeException if a mandatory parameter is missing */ DistributedSet<E> build(); + + /** + * Builds an {@link AsyncDistributedSet async set} based on the configuration options + * supplied to this builder. + * + * @return new AsyncDistributedSet + * @throws java.lang.RuntimeException if a mandatory parameter is missing + */ + AsyncDistributedSet<E> buildAsyncSet(); }