Package | Description |
---|---|
net.sf.ehcache |
This package contains the public API for using ehcache.
|
net.sf.ehcache.config |
This package contains the cache configuration code.
|
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.
|
net.sf.ehcache.writer.writebehind |
This package contains the write behind functionalities.
|
Modifier and Type | Method and Description |
---|---|
Store |
FeaturesManager.createStore(Cache cache,
Pool onHeapPool,
Pool 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 | Method and Description |
---|---|
abstract CacheWriterManager |
CacheWriterConfiguration.WriteMode.createWriterManager(Cache cache,
Store store)
Create a new
WriterManager for a particular cache instance |
Modifier and Type | Class and Description |
---|---|
class |
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 stored
|
class |
TxCopyingCacheStore<T extends Store>
Copies elements, either on read, write or both before using the underlying store to actually store things.
|
Modifier and Type | Interface and Description |
---|---|
interface |
AuthoritativeTier
Document me
|
interface |
TerracottaStore
Use for internal purpose only.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractStore |
class |
CacheStore
The one store to rule them all!
|
class |
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 stored
|
class |
ElementIdAssigningStore
Store wrapper that assigns sequential IDs to elements as they are added to the underlying store
|
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 |
MemoryStore
A Store implementation suitable for fast, concurrent in memory stores.
|
class |
TerracottaTransactionalCopyingCacheStore
A copying cache store designed for transactional terracotta clustered stores
|
class |
TxCopyingCacheStore<T extends Store>
Copies elements, either on read, write or both before using the underlying store to actually store things.
|
Modifier and Type | Field and Description |
---|---|
protected Store |
LruMemoryStore.diskStore
The DiskStore associated with this MemoryStore.
|
Modifier and Type | Method and Description |
---|---|
static Store |
MemoryStore.create(Ehcache cache,
Pool pool)
A factory method to create a MemoryStore.
|
Store |
LegacyStoreWrapper.getMemoryStore()
Returns the underlying memory store for this legacy wrapper.
|
static Store |
CopyingCacheStore.wrapIfCopy(Store cacheStore,
CacheConfiguration cacheConfiguration)
Wraps the Store instance passed in, should any copy occur
|
static Store |
TxCopyingCacheStore.wrapTxStore(AbstractTransactionStore cacheStore,
CacheConfiguration cacheConfiguration)
Wraps the Store instance passed in, should any copy occur
|
Modifier and Type | Method and Description |
---|---|
static Store |
CopyingCacheStore.wrapIfCopy(Store cacheStore,
CacheConfiguration cacheConfiguration)
Wraps the Store instance passed in, should any copy occur
|
Constructor and Description |
---|
ElementIdAssigningStore(Store delegate,
LongSequence sequence)
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 |
---|---|
static Store |
DiskStore.createCacheStore(Ehcache cache,
Pool onHeapPool,
Pool onDiskPool)
Create a DiskBackedMemoryStore instance
|
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)
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,
ElementValueComparator comparator)
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,
ElementValueComparator comparator,
org.terracotta.statistics.observer.OperationObserver<XaCommitOutcome> commitObserver,
org.terracotta.statistics.observer.OperationObserver<XaRollbackOutcome> rollbackObserver,
org.terracotta.statistics.observer.OperationObserver<XaRecoveryOutcome> recoveryObserver)
Constructor
|
XATransactionContext(Store underlyingStore)
Constructor
|
XATransactionStore(TransactionManagerLookup transactionManagerLookup,
SoftLockManager softLockManager,
TransactionIDFactory transactionIdFactory,
Ehcache cache,
Store store,
ElementValueComparator comparator)
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
|
Constructor and Description |
---|
WriteBehindManager(Cache cache,
Store store)
Create using the given cache.
|
Copyright © 2003–2016 Terracotta, Inc.. All rights reserved.