commit | 4f1f4cd1e59a333fc14f923c775fa9b88c9d0d50 | [log] [tgz] |
---|---|---|
author | Madan Jampani <madan@onlab.us> | Wed Jul 08 23:05:35 2015 -0700 |
committer | Gerrit Code Review <gerrit@onlab.us> | Thu Jul 09 20:42:26 2015 +0000 |
tree | 6165d654c504842baaf281f569d6f9f7ea769162 | |
parent | 6ff97649acdb1c6ad826347525844dd89bc4979b [diff] [blame] |
Misc fixes/improvments to ECMapImpl. Most notably: - Fixed logic in determining random peer to do AE - Fixed for logic for when to do active sync if lightWeightAE is disabled - Fixed tracking of ECMap activity Change-Id: I35da91d6ef684e16630be7bd5e518c8400debe14
diff --git a/core/store/dist/src/main/java/org/onosproject/store/ecmap/PersistentStore.java b/core/store/dist/src/main/java/org/onosproject/store/ecmap/PersistentStore.java index 302f7f8..e85987a 100644 --- a/core/store/dist/src/main/java/org/onosproject/store/ecmap/PersistentStore.java +++ b/core/store/dist/src/main/java/org/onosproject/store/ecmap/PersistentStore.java
@@ -37,4 +37,11 @@ * @param value the value */ void update(K key, MapValue<V> value); + + /** + * Removes a key from persistent store. + * + * @param key the key to remove + */ + void remove(K key); }