Class MapRegisterCache
- java.lang.Object
-
- org.opendaylight.lispflowmapping.southbound.lisp.cache.MapRegisterCache
-
public class MapRegisterCache extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Map<MapRegisterCacheKey,MapRegisterCacheValue>
cache
-
Constructor Summary
Constructors Constructor Description MapRegisterCache()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addEntry(java.util.Map.Entry<MapRegisterCacheKey,MapRegisterCacheValue> mapRegisterCacheEntry)
void
addEntry(MapRegisterCacheKey mapRegisterCacheKey, MapRegisterCacheValue mapRegisterCacheValue)
int
cacheSize()
MapRegisterCacheValue
getEntry(MapRegisterCacheKey mapRegisterCacheKey)
MapRegisterCacheValue
refreshEntry(MapRegisterCacheKey mapRegisterCacheKey)
void
removeEntry(MapRegisterCacheKey mapRegisterCacheKey)
-
-
-
Field Detail
-
cache
protected final java.util.Map<MapRegisterCacheKey,MapRegisterCacheValue> cache
-
-
Method Detail
-
addEntry
public void addEntry(MapRegisterCacheKey mapRegisterCacheKey, MapRegisterCacheValue mapRegisterCacheValue)
-
addEntry
public void addEntry(java.util.Map.Entry<MapRegisterCacheKey,MapRegisterCacheValue> mapRegisterCacheEntry)
-
getEntry
public MapRegisterCacheValue getEntry(MapRegisterCacheKey mapRegisterCacheKey)
-
removeEntry
public void removeEntry(MapRegisterCacheKey mapRegisterCacheKey)
-
refreshEntry
public MapRegisterCacheValue refreshEntry(MapRegisterCacheKey mapRegisterCacheKey)
-
cacheSize
public int cacheSize()
-
-