Package net.sf.ehcache.store
Store package. This package contains a Store interface and its implementations: a
memory store and a disk store.
Stores are used by the Cache to physically implement logical cache operations.
-
Interface Summary Interface Description AuthoritativeTier Document meCachingTier<K,V> This interface is to be implemented by CachingTier that sit above theAuthoritativeTier.CachingTier.Listener<K,V> A listener that will be notified when eviction of a mapping happensElementValueComparator Used to compare two element values.MemoryStore.BackingFactory Factory interface to create a MemoryStore backing.Policy An eviction policy.PressuredStore A store that can be under pressure...Store This is the interface for all stores.StoreListener StoreOperationOutcomes The Interface StoreOperationOutcomes.StoreQuery An immutable query that aStorecan executeStoreQuery.Ordering An attribute / direction ordering pairStripedReadWriteLockProvider Provider for StripedReadWriteLock that need to match a certain spreading functionTerracottaStore Use for internal purpose only. -
Class Summary Class Description AbstractPolicy A base policy classAbstractStore BruteForceSearchManager Brute force search implementationCacheKeySet<E> A Set of keys that will encapsulate keys present in a Cache.CacheStore The one store to rule them all!CopyingCacheStore<T extends Store> Copies elements, either on read, write or both before using the underlying store to actually store things When copying both ways, the store might not see the same types being storedCopyStrategyHandler Utility class for handling element copy based on the copy on read and write configurations.DefaultElementValueComparator DefaultElementValueComparator does compare the values on the two elements based on theirequalscontractDiskStoreBootstrapCacheLoader DiskStoreBootstrapCacheLoaderFactory Factory class to createDiskStoreBootstrapCacheLoaderinstances.ElementIdAssigningStore Store wrapper that assigns sequential IDs to elements as they are added to the underlying storeFifoPolicy Contains common LFU policy code for use between the LfuMemoryStore and the DiskStore, which also uses an LfuPolicy for evictions.LegacyStoreWrapper A wrapper to convert a legacy pair of stores into a new style compound store.LfuPolicy Contains common LFU policy code for use between the LfuMemoryStore and the DiskStore, which also uses an LfuPolicy for evictions.LruMemoryStore An implementation of a LruMemoryStore.LruPolicy Contains common LFU policy code for use between the LfuMemoryStore and the DiskStore, which also uses an LfuPolicy for evictions.MemoryLimitedCacheLoader Abstract class for BootstrapCacheLoader implementers that should alter their load behavior (probably stop loading) whenever the cache being bootstrapped has reached its in-memory limit (off- or on-heap)MemoryStore A Store implementation suitable for fast, concurrent in memory stores.MemoryStoreEvictionPolicy A typesafe enumeration of eviction policies.TerracottaTransactionalCopyingCacheStore A copying cache store designed for transactional terracotta clustered storesTxCopyingCacheStore<T extends Store> Copies elements, either on read, write or both before using the underlying store to actually store things.TxCopyStrategyHandler -
Enum Summary Enum Description MemoryStoreEvictionPolicy.MemoryStoreEvictionPolicyEnum Enum forMemoryStoreEvictionPolicyStoreOperationOutcomes.GetOutcome The Enum GetOutcome.StoreOperationOutcomes.PutOutcome The Enum PutOutcome.StoreOperationOutcomes.RemoveOutcome The Enum RemoveOutcome.