org.terracotta.modules.ehcache.store
Class ClusteredStoreBackend
java.lang.Object
org.terracotta.cache.impl.DistributedCacheImpl<Object,Object>
org.terracotta.modules.ehcache.store.ClusteredStoreBackend
- All Implemented Interfaces:
- com.tc.object.bytecode.NotClearable, ConcurrentMap<Object,Object>, Map<Object,Object>, DistributedCache<Object,Object>, Evictable<Object>, LockableMap<Object>
public class ClusteredStoreBackend
- extends DistributedCacheImpl<Object,Object>
- implements com.tc.object.bytecode.NotClearable
| Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
| Methods inherited from class org.terracotta.cache.impl.DistributedCacheImpl |
clear, containsKey, containsValue, createFinegrainedLock, entrySet, evictExpiredLocalElements, evictOrphanElements, get, getConfig, getLockIdForKey, getStatistics, getTimeSource, getTimestampedValue, getTimestampedValueQuiet, initializeOnLoad, initializeOnLoad, invalidateCacheEntries, isCapacityEvictionEnabled, isEmpty, isEvictionEnabled, isStatisticsEnabled, keySet, localSize, lockEntry, put, putAll, putIfAbsent, putNoReturn, remove, remove, removeNoReturn, removeTimestampedValue, replace, replace, setStatisticsEnabled, setTimeSource, shutdown, size, unlockedContainsKey, unlockedGet, unlockedGetTimestampedValue, unlockedGetTimestampedValueQuiet, unlockedPutNoReturn, unlockedRemoveNoReturn, unlockEntry, unsafeGet, unsafeGetTimestampedValue, values |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClusteredStoreBackend
public ClusteredStoreBackend(LockType lockType,
CacheConfig config,
net.sf.ehcache.event.RegisteredEventListeners listeners)
onEvict
protected void onEvict(Object key,
Object value)
- Description copied from class:
DistributedCacheImpl
- Used by notify listeners of eviction
By the time this function is called, the item has already been evicted
- Overrides:
onEvict in class DistributedCacheImpl<Object,Object>
initializeTransients
public final void initializeTransients(net.sf.ehcache.event.RegisteredEventListeners listeners)
- See
ClusteredStore.initalizeTransients(net.sf.ehcache.Ehcache)
Copyright © 2010 Terracotta, Inc.. All Rights Reserved.