Class LRUCache<Path,V>
- java.lang.Object
-
- org.guvnor.common.services.backend.cache.LRUCache<Path,V>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VgetEntry(Path path)Retrieve the cache entry for the specified key.Set<Path>getKeys()voidinvalidateCache()Invalidate the entire cachevoidinvalidateCache(Path path)Invalidate the cache for a specific key.voidsetEntry(Path path, V value)Set the cache entry for the specified path.
-
-
-
Method Detail
-
getEntry
public V getEntry(Path path)
Description copied from interface:CacheRetrieve the cache entry for the specified key.
-
setEntry
public void setEntry(Path path, V value)
Description copied from interface:CacheSet the cache entry for the specified path.
-
invalidateCache
public void invalidateCache()
Description copied from interface:CacheInvalidate the entire cache- Specified by:
invalidateCachein interfaceCache<Path,V>
-
invalidateCache
public void invalidateCache(Path path)
Description copied from interface:CacheInvalidate the cache for a specific key.- Specified by:
invalidateCachein interfaceCache<Path,V>- Parameters:
path- The cache entry key
-
-