org.ehcache.internal.store.disk
Class OffHeapDiskStore<K,V>
java.lang.Object
org.ehcache.internal.store.offheap.AbstractOffHeapStore<K,V>
org.ehcache.internal.store.disk.OffHeapDiskStore<K,V>
- All Implemented Interfaces:
- ConfigurationChangeSupport, Store<K,V>, AuthoritativeTier<K,V>, LowerCachingTier<K,V>
public class OffHeapDiskStore<K,V>
- extends AbstractOffHeapStore<K,V>
- implements AuthoritativeTier<K,V>
Field Summary |
protected java.util.concurrent.atomic.AtomicReference<Status> |
status
|
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 |
Methods inherited from interface org.ehcache.spi.cache.Store |
bulkCompute, bulkCompute, bulkComputeIfAbsent, clear, compute, compute, computeIfAbsent, computeIfPresent, computeIfPresent, containsKey, disableStoreEventNotifications, enableStoreEventNotifications, get, iterator, put, putIfAbsent, remove, remove, replace, replace |
status
protected final java.util.concurrent.atomic.AtomicReference<Status> status
OffHeapDiskStore
public OffHeapDiskStore(FileBasedPersistenceContext fileBasedPersistenceContext,
Store.Configuration<K,V> config,
Serializer<K> keySerializer,
Serializer<V> valueSerializer,
TimeSource timeSource,
long sizeInBytes)
getConfigurationChangeListeners
public java.util.List<CacheConfigurationChangeListener> getConfigurationChangeListeners()
- Description copied from interface:
ConfigurationChangeSupport
- get the
List
CacheConfigurationChangeListener
defined in the Store
- Specified by:
getConfigurationChangeListeners
in interface ConfigurationChangeSupport
- Returns:
- a list of
CacheConfigurationChangeListener
backingMap
protected EhcacheOffHeapBackingMap<K,OffHeapValueHolder<V>> backingMap()
- Specified by:
backingMap
in class AbstractOffHeapStore<K,V>
persistent
public static <T> org.terracotta.offheapstore.disk.persistent.PersistentPortability<T> persistent(org.terracotta.offheapstore.storage.portability.Portability<T> normal)