org.ehcache.internal.store.offheap
Class OffHeapStore<K,V>

java.lang.Object
  extended by org.ehcache.internal.store.offheap.AbstractOffHeapStore<K,V>
      extended by org.ehcache.internal.store.offheap.OffHeapStore<K,V>
All Implemented Interfaces:
ConfigurationChangeSupport, Store<K,V>, AuthoritativeTier<K,V>, LowerCachingTier<K,V>

public class OffHeapStore<K,V>
extends AbstractOffHeapStore<K,V>

OffHeapStore


Nested Class Summary
static class OffHeapStore.Provider
           
 
Nested classes/interfaces inherited from interface org.ehcache.spi.cache.Store
Store.Configuration<K,V>, Store.Iterator<T>, Store.ValueHolder<V>
 
Field Summary
 
Fields inherited from class org.ehcache.internal.store.offheap.AbstractOffHeapStore
mapEvictionListener
 
Constructor Summary
OffHeapStore(Store.Configuration<K,V> config, TimeSource timeSource, long sizeInBytes)
           
 
Method Summary
protected  EhcacheOffHeapBackingMap<K,OffHeapValueHolder<V>> backingMap()
           
 java.util.List<CacheConfigurationChangeListener> getConfigurationChangeListeners()
          get the List CacheConfigurationChangeListener defined in the Store
 
Methods inherited from class org.ehcache.internal.store.offheap.AbstractOffHeapStore
bulkCompute, bulkCompute, bulkComputeIfAbsent, clear, compute, compute, computeIfAbsent, computeIfAbsentAndFault, computeIfPresent, computeIfPresent, containsKey, disableStoreEventNotifications, enableStoreEventNotifications, flush, get, getAndFault, getAndRemove, getOrComputeIfAbsent, handleOversizeMappingException, handleOversizeMappingException, invalidate, invalidate, iterator, put, putIfAbsent, registerEmergencyValve, remove, remove, replace, replace, setInvalidationListener, wrap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OffHeapStore

public OffHeapStore(Store.Configuration<K,V> config,
                    TimeSource timeSource,
                    long sizeInBytes)
Method Detail

getConfigurationChangeListeners

public java.util.List<CacheConfigurationChangeListener> getConfigurationChangeListeners()
Description copied from interface: ConfigurationChangeSupport
get the List CacheConfigurationChangeListener defined in the Store

Returns:
a list of CacheConfigurationChangeListener

backingMap

protected EhcacheOffHeapBackingMap<K,OffHeapValueHolder<V>> backingMap()
Specified by:
backingMap in class AbstractOffHeapStore<K,V>