commit | 5ec32ba0f3b48c931b18b8efd5459c2606033ecf | [log] [tgz] |
---|---|---|
author | Jonathan Hart <jono@onlab.us> | Thu Feb 05 13:33:58 2015 -0800 |
committer | Brian O'Connor <bocon@onlab.us> | Fri Feb 13 14:13:52 2015 -0800 |
tree | 82122cb7de2abbe6aadfbfbfe8b5a4a34ff8271f | |
parent | d0ba217c3329def14abc7cfc2338e6a36d733e03 [diff] [blame] |
Finished implementation of GossipIntentStore based on new API and semantics. Change-Id: I1a71d075e5d34ab7b9f7c2533d389235d6da1d9a
diff --git a/core/store/dist/src/main/java/org/onosproject/store/intent/impl/PartitionService.java b/core/store/dist/src/main/java/org/onosproject/store/intent/impl/PartitionService.java index 1062b65..eaeabab1 100644 --- a/core/store/dist/src/main/java/org/onosproject/store/intent/impl/PartitionService.java +++ b/core/store/dist/src/main/java/org/onosproject/store/intent/impl/PartitionService.java
@@ -15,6 +15,8 @@ */ package org.onosproject.store.intent.impl; +import org.onosproject.net.intent.Key; + /** * Service for interacting with the partition-to-instance assignments. */ @@ -27,7 +29,7 @@ * @param intentKey intent key to query * @return true if the key is owned by this instance, otherwise false */ - boolean isMine(String intentKey); + boolean isMine(Key intentKey); // TODO add API for rebalancing partitions }