Top Description Interfaces Classes
[default module]

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

Modifier and TypeInterface and Description
public interface
AuthoritativeTier

Document me

pack-priv interface
BruteForceSource

This interface exposes what is required by the BruteForceSearchManager

public interface
CachingTier<K, V>

This interface is to be implemented by CachingTier that sit above the AuthoritativeTier.

public interface
ElementValueComparator

Used to compare two element values.

public interface
Policy

An eviction policy.

public interface
PressuredStore

A store that can be under pressure...

public interface
Store

This is the interface for all stores.

public interface
public interface
StoreOperationOutcomes

The Interface StoreOperationOutcomes.

public interface
StoreQuery

An immutable query that a Store can execute

public interface
StripedReadWriteLockProvider

Provider for StripedReadWriteLock that need to match a certain spreading function

public interface
TerracottaStore

Use for internal purpose only.

Class Summary

Modifier and TypeClass and Description
pack-priv abstract class
AbstractCopyingCacheStore<
the store type it wraps
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 stored

public abstract class
AbstractPolicy

A base policy class

public abstract class
public class
BruteForceSearchManager

Brute force search implementation

public class
CacheKeySet<
the type of elements maintained by this set
E
>

A Set of keys that will encapsulate keys present in a Cache.

public class
CacheStore

The one store to rule them all!

pack-priv class
CopyingBruteForceSource

A BruteForceSource that wraps another one and deals with copy for read of Elements.

public class
CopyingCacheStore<
the store type it wraps
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 stored

public class
CopyStrategyHandler

Utility class for handling element copy based on the copy on read and write configurations.

public class
DefaultElementValueComparator

DefaultElementValueComparator does compare the values on the two elements based on their equals contract

public class
public class
public class
ElementIdAssigningStore

Store wrapper that assigns sequential IDs to elements as they are added to the underlying store

public class
FifoPolicy

Contains common LFU policy code for use between the LfuMemoryStore and the DiskStore, which also uses an LfuPolicy for evictions.

public class
LegacyStoreWrapper

A wrapper to convert a legacy pair of stores into a new style compound store.

public class
LfuPolicy

Contains common LFU policy code for use between the LfuMemoryStore and the DiskStore, which also uses an LfuPolicy for evictions.

public class
LruMemoryStore

An implementation of a LruMemoryStore.

public class
LruPolicy

Contains common LFU policy code for use between the LfuMemoryStore and the DiskStore, which also uses an LfuPolicy for evictions.

public abstract class
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)

public class
MemoryStore

A Store implementation suitable for fast, concurrent in memory stores.

pack-priv class
MemoryStoreBruteForceSource

Implementation of a BruteForceSource to integrate with a MemoryStore

public class
MemoryStoreEvictionPolicy

A typesafe enumeration of eviction policies.

public class
TerracottaTransactionalCopyingCacheStore

A copying cache store designed for transactional terracotta clustered stores

pack-priv class
TransactionalBruteForceSource

A BruteForceSource that wraps another one and deals with transactional Elements.

public class
TxCopyingCacheStore<
the store type it wraps
T extends Store
>

Copies elements, either on read, write or both before using the underlying store to actually store things.

public class