@Module public final class CacheEntryManager extends java.lang.Object
Constructor and Description |
---|
CacheEntryManager(CacheEntryFactory cacheEntryFactory) |
Modifier and Type | Method and Description |
---|---|
void |
clearLeases()
Clears leases on server start/stop
|
DistCacheEntry |
createCacheEntry(HashKey key,
CacheHandle cache)
Returns the key entry, creating on if necessary.
|
DistCacheEntry |
getCacheEntry(HashKey key)
Returns the cache entry.
|
java.util.Iterator<DistCacheEntry> |
getEntries() |
java.lang.String |
toString() |
public CacheEntryManager(CacheEntryFactory cacheEntryFactory)
public final DistCacheEntry getCacheEntry(HashKey key)
public final DistCacheEntry createCacheEntry(HashKey key, CacheHandle cache)
public java.util.Iterator<DistCacheEntry> getEntries()
public final void clearLeases()
public java.lang.String toString()
toString
in class java.lang.Object