org.terracotta.modules.ehcache.store
Class ClusteredStoreBackend

java.lang.Object
  extended by org.terracotta.cache.impl.DistributedCacheImpl<Object,Object>
      extended by 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 Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Field Summary
 
Fields inherited from class org.terracotta.cache.impl.DistributedCacheImpl
data
 
Constructor Summary
ClusteredStoreBackend(LockType lockType, CacheConfig config, net.sf.ehcache.event.RegisteredEventListeners listeners)
           
 
Method Summary
 void initializeTransients(net.sf.ehcache.event.RegisteredEventListeners listeners)
          See ClusteredStore.initalizeTransients(net.sf.ehcache.Ehcache)
protected  void onEvict(Object key, Object value)
          Used by notify listeners of eviction By the time this function is called, the item has already been evicted
 
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
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Constructor Detail

ClusteredStoreBackend

public ClusteredStoreBackend(LockType lockType,
                             CacheConfig config,
                             net.sf.ehcache.event.RegisteredEventListeners listeners)
Method Detail

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.