Adapt updateMappingRegistration() methods for cache
[lispflowmapping.git] / mappingservice / api / src / main / java / org / opendaylight / lispflowmapping / interfaces / mapcache / IMapCache.java
index 1d4c6a87f2d00dfb6e1b526afa0562c35cd3a678..3870c21ef1fdbece1e6bdf19d690034542e8b99e 100644 (file)
@@ -83,12 +83,14 @@ public interface IMapCache {
     void removeAuthenticationKey(Eid key);
 
     /**
-     * Update key registration
+     * Update mapping registration
      *
      * @param key
-     *            The key whose registration must be updated
+     *            The EID whose registration must be updated
+     * @param timestamp
+     *            New timestamp for the mapping
      */
-    void updateMappingRegistration(Eid key);
+    void updateMappingRegistration(Eid key, Long timestamp);
 
     /**
      * Add data for key