*
* @param key
* Key of the mapping
- * @param data
+ * @param value
* Value to be stored
- * @param shouldOverwrite
- * Select if mappings with the same key are overwritten
- * @param merge
- * Select if mappings with the same key are merged
*/
- void addMapping(Eid key, Object data, boolean shouldOverwrite, boolean merge);
+ void addMapping(Eid key, Object value);
/**
* Retrieves mapping for the provided srcKey and dstKey.
*/
Object getMapping(Eid srcKey, Eid dstKey);
- /**
- * Retrieves mapping for the provided srcKey, dstKey and a XtrId. In case the IMapCache is not a
- * Simple Map Cache i.e. Flat Map Cache or Multi Table Map Cache, this method returns null.
- *
- * @param srcKey
- * Source Key to be looked up
- * @param dstKey
- * Destination Key to be looked up
- * @param xtrId
- * xtr id for which look up to be done
- * @return Returns the object found in the cache or null if nothing is found or IMapCache is not a Simple
- * Map Cache.
- */
- Object getMapping(Eid srcKey, Eid dstKey, byte[] xtrId);
-
/**
* Retrieves widest negative prefix.
*
*
* @param key
* Key to be removed
- * @param overwrite
- * Select if mappings with the same key were overwritten on store
- *
*/
- void removeMapping(Eid key, boolean overwrite);
+ void removeMapping(Eid key);
/**
* Add authentication key.
*/
void removeAuthenticationKey(Eid key);
- /**
- * Update mapping registration.
- *
- * @param key
- * The EID whose registration must be updated
- * @param timestamp
- * New timestamp for the mapping
- */
- void updateMappingRegistration(Eid key, Long timestamp);
-
/**
* Add data for key.
*