Package | Description |
---|---|
net.sf.ehcache |
This package contains the public API for using ehcache.
|
net.sf.ehcache.constructs.nonstop.store |
Ehcache-nonstopcache behaviors package
|
net.sf.ehcache.pool |
This package contains the interfaces concerning the resource pooling facilities.
|
net.sf.ehcache.store |
Store package.
|
net.sf.ehcache.store.disk |
This package contains the disk store.
|
net.sf.ehcache.terracotta |
This package contains the Terracotta integration functionalities.
|
net.sf.ehcache.transaction |
This package contains classes for controlling cache operations for transactional use.
|
net.sf.ehcache.transaction.local |
This package contains the local transactions subsystem.
|
net.sf.ehcache.transaction.xa |
This package contains the functionality to provide XA support to a transactional Cache.
|
net.sf.ehcache.transaction.xa.commands |
This package contains a representation of the queued commands which can be executed against a
XA store.
|
Modifier and Type | Method and Description |
---|---|
Store |
FeaturesManager.createStore(Cache cache,
Pool<PoolableStore> onHeapPool,
Pool<PoolableStore> onDiskPool)
Create a store for the given cache.
|
Store |
CacheManager.createTerracottaStore(Ehcache cache)
Create/access the appropriate terracotta clustered store for the given cache
|
Store |
CacheStoreHelper.getStore()
Returns the internal
Store of the cache |
Modifier and Type | Interface and Description |
---|---|
interface |
NonstopStore
Interface for nonstop feature
|
interface |
RejoinAwareNonstopStore
Rejoin aware
NonstopStore |
Modifier and Type | Class and Description |
---|---|
class |
ExceptionOnTimeoutStore
Implementation of
NonstopStore that throws NonStopCacheException for all operations. |
class |
ExecutorServiceStore
This implementation executes all operations using a NonstopExecutorService.
|
class |
LocalReadsOnTimeoutStore
A
NonstopStore implementation that returns the local value in the VM, if present, for get operations and no-op for put,
remove and other operations |
class |
NonstopStoreImpl
A
NonstopStore implementation which does not block threads when the cluster goes down. |
class |
NoOpOnTimeoutStore
Implementation of
NonstopStore which returns null for all get
operations and does nothing for puts and removes. |
class |
TransactionalExecutorServiceStore
This implementation is identical to TransactionalExecutorServiceStore except that it ensures the transactional context
gets propagated to the executor thread.
|
Modifier and Type | Interface and Description |
---|---|
interface |
PoolableStore
A poolable store reports its resource usage to a
Pool . |
Modifier and Type | Interface and Description |
---|---|
interface |
TerracottaStore
Use for internal purpose only.
|
interface |
TierableStore
This is the interface for all tierable stores.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractStore |
class |
DiskBackedMemoryStore
A tiered store using an in-memory cache of elements stored on disk.
|
class |
ElementIdAssigningStore
Store wrapper that assigns sequential IDs to elements as they are added to the underlying store
|
class |
FrontEndCacheTier<T extends TierableStore,U extends TierableStore>
Abstract class for stores which combine two other stores, one caching the other (aka authority)'s elements.
|
class |
LegacyStoreWrapper
A wrapper to convert a legacy pair of stores into a new style compound store.
|
class |
LruMemoryStore
An implementation of a LruMemoryStore.
|
class |
MemoryOnlyStore
A memory-only store with support for all caching features.
|
class |
MemoryStore
A Store implementation suitable for fast, concurrent in memory stores.
|
class |
NotifyingMemoryStore |
class |
NullStore
A store implementation which does not store anything.
|
Modifier and Type | Field and Description |
---|---|
protected Store |
LruMemoryStore.diskStore
The DiskStore associated with this MemoryStore.
|
Modifier and Type | Method and Description |
---|---|
static Store |
MemoryOnlyStore.create(Ehcache cache,
Pool onHeapPool)
Create an instance of MemoryOnlyStore
|
static Store |
DiskBackedMemoryStore.create(Ehcache cache,
Pool onHeapPool,
Pool onDiskPool)
Create a DiskBackedMemoryStore instance
|
Store |
LegacyStoreWrapper.getDiskStore()
Returns the underlying disk store for this legacy wrapper.
|
Store |
LegacyStoreWrapper.getMemoryStore()
Returns the underlying memory store for this legacy wrapper.
|
Constructor and Description |
---|
ElementIdAssigningStore(Store delegate)
Constructor
|
LegacyStoreWrapper(Store memory,
Store disk,
RegisteredEventListeners eventListeners,
CacheConfiguration config)
Create a correctly locked store wrapper around the supplied in-memory and on disk stores.
|
LruMemoryStore(Ehcache cache,
Store diskStore)
Constructor for the LruMemoryStore object
The backing
LinkedHashMap is created with LRU by access order. |
Modifier and Type | Class and Description |
---|---|
class |
DiskStore
Implements a persistent-to-disk store.
|
Modifier and Type | Method and Description |
---|---|
Store |
ClusteredInstanceFactoryWrapper.createStore(Ehcache cache)
Create a Store instance for the given cache
|
Store |
ClusteredInstanceFactory.createStore(Ehcache cache)
Create a Store instance for the given cache
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractTransactionStore
Abstract transactional store which provides implementation of all non-transactional methods
|
Modifier and Type | Field and Description |
---|---|
protected Store |
AbstractTransactionStore.underlyingStore
The underlying store wrapped by this store
|
Modifier and Type | Method and Description |
---|---|
Set<Object> |
AbstractSoftLockManager.getKeysInvisibleInContext(LocalTransactionContext currentTransactionContext,
Store underlyingStore)
Get a Set of keys protected by soft locks which must not be visible to a transaction context
according to the isolation level.
|
Set<Object> |
SoftLockManager.getKeysInvisibleInContext(LocalTransactionContext transactionContext,
Store underlyingStore)
Get a Set of keys protected by soft locks which must not be visible to a transaction context
according to the isolation level.
|
Constructor and Description |
---|
AbstractTransactionStore(Store underlyingStore,
ReadWriteCopyStrategy<Element> copyStrategy)
Constructor
|
Modifier and Type | Class and Description |
---|---|
class |
JtaLocalTransactionStore
A Store implementation with support for local transactions driven by a JTA transaction manager
|
class |
LocalTransactionStore
A Store implementation with support for local transactions
|
Constructor and Description |
---|
LocalTransactionStore(TransactionController transactionController,
TransactionIDFactory transactionIdFactory,
SoftLockManager softLockManager,
Ehcache cache,
Store store,
ReadWriteCopyStrategy<Element> copyStrategy)
Create a new LocalTransactionStore instance
|
Modifier and Type | Class and Description |
---|---|
class |
XATransactionStore |
Constructor and Description |
---|
EhcacheXAResourceImpl(Ehcache cache,
Store underlyingStore,
TransactionManagerLookup txnManagerLookup,
SoftLockManager softLockManager,
TransactionIDFactory transactionIDFactory,
ReadWriteCopyStrategy<Element> copyStrategy)
Constructor
|
XATransactionContext(Store underlyingStore)
Constructor
|
XATransactionStore(TransactionManagerLookup transactionManagerLookup,
SoftLockManager softLockManager,
TransactionIDFactory transactionIdFactory,
Ehcache cache,
Store store,
ReadWriteCopyStrategy<Element> copyStrategy)
Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
AbstractStoreCommand.prepare(Store store,
SoftLockManager softLockManager,
XidTransactionID transactionId,
ElementValueComparator comparator)
Prepare the commmand un the underlying store
|
boolean |
Command.prepare(Store store,
SoftLockManager softLockManager,
XidTransactionID transactionId,
ElementValueComparator comparator)
Prepare the commmand un the underlying store
|
void |
AbstractStoreCommand.rollback(Store store,
SoftLockManager softLockManager)
Rollback the prepared change
|
void |
Command.rollback(Store store,
SoftLockManager softLockManager)
Rollback the prepared change
|
Copyright © 2003-2013 Terracotta, Inc.. All Rights Reserved.