|
ehcache | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Ehcache | |
---|---|
net.sf.ehcache | This package contains the public API for using ehcache. |
net.sf.ehcache.bootstrap | This package contains the bootstrap cache loader interface and abstract factory. |
net.sf.ehcache.config | This package contains the cache configuration code. |
net.sf.ehcache.constructs | The constructs package builds on top of the core ehcache classes to create implementations for common caching patterns. |
net.sf.ehcache.constructs.blocking | Doug Lea in his book Concurrent Programming in Java talks about concurrency support constructs. |
net.sf.ehcache.distribution | This package is for cache replication. |
net.sf.ehcache.event | This package contains interfaces and classes for listening to events. |
net.sf.ehcache.exceptionhandler | This package is for exception handling. |
net.sf.ehcache.extension | This package contains interfaces and classes for the cache extension mechanism. |
net.sf.ehcache.hibernate | This package contains interfaces and classes for Hibernate3.1 and higher. |
net.sf.ehcache.hibernate.regions | This package contains region implementations used in Hibernate 3.3 and higher. |
net.sf.ehcache.hibernate.strategy | This package contains EhCache specific AccessStrategy implementations. |
net.sf.ehcache.loader | This package contains a cache loaders and associated factories. |
net.sf.ehcache.management | This package contains JMX MBeans and implementations for management of ehcache. |
net.sf.ehcache.management.sampled | This package contains classes related to MBeans with Sampled Statistics. |
net.sf.ehcache.statistics | This package contains classes related to LiveCacheStatistics and its implementation. |
net.sf.ehcache.store | Store package. |
net.sf.ehcache.store.compound.factories | This package contains the concrete element substitute factory implementations. |
net.sf.ehcache.terracotta | This package contains the Terracotta integration functionalities. |
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.util | Util package. |
net.sf.ehcache.writer | This package contains the cache writer functionalities. |
Uses of Ehcache in net.sf.ehcache |
---|
Classes in net.sf.ehcache that implement Ehcache | |
---|---|
class |
Cache
Cache is the central class in ehcache. |
Methods in net.sf.ehcache that return Ehcache | |
---|---|
Ehcache |
CacheManager.addCacheIfAbsent(Ehcache cache)
Only adds the cache to the CacheManager should not one with the same name already be present |
Ehcache |
CacheManager.addCacheIfAbsent(String cacheName)
Only creates and adds the cache to the CacheManager should not one with the same name already be present |
Ehcache |
Statistics.getAssociatedCache()
|
Ehcache |
CacheManager.getEhcache(String name)
Gets an Ehcache |
Methods in net.sf.ehcache with parameters of type Ehcache | |
---|---|
void |
CacheManager.addCache(Ehcache cache)
Adds an Ehcache to the CacheManager. |
Ehcache |
CacheManager.addCacheIfAbsent(Ehcache cache)
Only adds the cache to the CacheManager should not one with the same name already be present |
void |
CacheManager.addDecoratedCache(Ehcache decoratedCache)
Adds a decorated Ehcache to the CacheManager. |
void |
CacheManager.addDecoratedCacheIfAbsent(Ehcache decoratedCache)
Same as CacheManager.addDecoratedCache(Ehcache) but does not throw exception if another cache with same name already exists. |
CacheEventListener |
CacheManager.createTerracottaEventReplicator(Ehcache cache)
Create/access the appropriate clustered cache event replicator for the given cache |
Store |
CacheManager.createTerracottaStore(Ehcache cache)
Create/access the appropriate terracotta clustered store for the given cache |
WriteBehind |
CacheManager.createTerracottaWriteBehind(Ehcache cache)
Create/access the appropriate clustered write behind queue for the given cache |
void |
CacheManager.replaceCacheWithDecoratedCache(Ehcache ehcache,
Ehcache decoratedCache)
Replaces in the map of Caches managed by this CacheManager an Ehcache with a decorated version of the same Ehcache. |
Constructors in net.sf.ehcache with parameters of type Ehcache | |
---|---|
Statistics(Ehcache cache,
int statisticsAccuracy,
long cacheHits,
long onDiskHits,
long offHeapHits,
long inMemoryHits,
long misses,
long onDiskMisses,
long offHeapMisses,
long inMemoryMisses,
long size,
float averageGetTime,
long evictionCount,
long memoryStoreSize,
long offHeapStoreSize,
long diskStoreSize,
long searchesPerSecond,
long averageSearchTime,
long writerQueueLength)
Creates a new statistics object, associated with a Cache |
Uses of Ehcache in net.sf.ehcache.bootstrap |
---|
Methods in net.sf.ehcache.bootstrap with parameters of type Ehcache | |
---|---|
void |
BootstrapCacheLoader.load(Ehcache cache)
Instructs the loader to load the given cache |
Uses of Ehcache in net.sf.ehcache.config |
---|
Methods in net.sf.ehcache.config that return Ehcache | |
---|---|
Ehcache |
ConfigurationHelper.createDefaultCache()
|
Methods in net.sf.ehcache.config that return types with arguments of type Ehcache | |
---|---|
List<Ehcache> |
ConfigurationHelper.createCacheDecorators(Ehcache cache)
Creates decorated ehcaches for the cache, if any configured in ehcache.xml |
static List<Ehcache> |
ConfigurationHelper.createDefaultCacheDecorators(Ehcache cache,
CacheConfiguration defaultCacheConfiguration)
Creates default cache decorators specified in the default cache configuration if any |
Methods in net.sf.ehcache.config with parameters of type Ehcache | |
---|---|
List<Ehcache> |
ConfigurationHelper.createCacheDecorators(Ehcache cache)
Creates decorated ehcaches for the cache, if any configured in ehcache.xml |
static List<Ehcache> |
ConfigurationHelper.createDefaultCacheDecorators(Ehcache cache,
CacheConfiguration defaultCacheConfiguration)
Creates default cache decorators specified in the default cache configuration if any |
Uses of Ehcache in net.sf.ehcache.constructs |
---|
Classes in net.sf.ehcache.constructs that implement Ehcache | |
---|---|
class |
EhcacheDecoratorAdapter
Adapter class for Ehcache interface decorators. |
Fields in net.sf.ehcache.constructs declared as Ehcache | |
---|---|
protected Ehcache |
EhcacheDecoratorAdapter.underlyingCache
The decorated Ehcache , has protected visibility so that sub-classes can have access to it. |
Methods in net.sf.ehcache.constructs that return Ehcache | |
---|---|
abstract Ehcache |
CacheDecoratorFactory.createDecoratedEhcache(Ehcache cache,
Properties properties)
Creates a decorated Ehcache using the properties specified for configuring the decorator. |
abstract Ehcache |
CacheDecoratorFactory.createDefaultDecoratedEhcache(Ehcache cache,
Properties properties)
This method is called when the factory is specified for the defaultCache in the config. |
Methods in net.sf.ehcache.constructs with parameters of type Ehcache | |
---|---|
abstract Ehcache |
CacheDecoratorFactory.createDecoratedEhcache(Ehcache cache,
Properties properties)
Creates a decorated Ehcache using the properties specified for configuring the decorator. |
abstract Ehcache |
CacheDecoratorFactory.createDefaultDecoratedEhcache(Ehcache cache,
Properties properties)
This method is called when the factory is specified for the defaultCache in the config. |
static String |
CacheDecoratorFactory.generateDefaultDecoratedCacheName(Ehcache cache,
String cacheNameSuffix)
Utility method to generate name of decorated cache to be created using factory specified in defaultCache. |
Constructors in net.sf.ehcache.constructs with parameters of type Ehcache | |
---|---|
EhcacheDecoratorAdapter(Ehcache underlyingCache)
Constructor accepting the cache to be decorated |
Uses of Ehcache in net.sf.ehcache.constructs.blocking |
---|
Classes in net.sf.ehcache.constructs.blocking that implement Ehcache | |
---|---|
class |
BlockingCache
A blocking decorator for an Ehcache, backed by a Ehcache . |
class |
SelfPopulatingCache
A selfpopulating decorator for Ehcache that creates entries on demand. |
class |
UpdatingSelfPopulatingCache
A Cache backed cache that creates entries on demand. |
Methods in net.sf.ehcache.constructs.blocking that return Ehcache | |
---|---|
protected Ehcache |
BlockingCache.getCache()
Retrieve the EHCache backing cache |
Methods in net.sf.ehcache.constructs.blocking with parameters of type Ehcache | |
---|---|
protected void |
SelfPopulatingCache.refreshElement(Element element,
Ehcache backingCache)
Refresh a single element. |
protected Element |
SelfPopulatingCache.refreshElement(Element element,
Ehcache backingCache,
boolean quiet)
Refresh a single element. |
Constructors in net.sf.ehcache.constructs.blocking with parameters of type Ehcache | |
---|---|
BlockingCache(Ehcache cache)
Creates a BlockingCache which decorates the supplied cache. |
|
BlockingCache(Ehcache cache,
int numberOfStripes)
Creates a BlockingCache which decorates the supplied cache. |
|
SelfPopulatingCache(Ehcache cache,
CacheEntryFactory factory)
Creates a SelfPopulatingCache. |
|
UpdatingSelfPopulatingCache(Ehcache cache,
UpdatingCacheEntryFactory factory)
Creates a SelfPopulatingCache. |
Uses of Ehcache in net.sf.ehcache.distribution |
---|
Methods in net.sf.ehcache.distribution with parameters of type Ehcache | |
---|---|
protected List |
RMIBootstrapCacheLoader.acquireCachePeers(Ehcache cache)
Acquires the cache peers for this cache. |
void |
RMIBootstrapCacheLoader.doLoad(Ehcache cache)
Bootstraps the cache from a random CachePeer. |
protected void |
RMIBootstrapCacheLoader.fetchAndPutElements(Ehcache cache,
List requestChunk,
CachePeer cachePeer)
Fetches a chunk of elements from a remote cache peer |
protected boolean |
RMICacheManagerPeerListener.isDistributed(Ehcache cache)
Determine if the given cache is distributed. |
List |
ManualRMICacheManagerPeerProvider.listRemoteCachePeers(Ehcache cache)
|
List |
CacheManagerPeerProvider.listRemoteCachePeers(Ehcache cache)
|
List |
MulticastRMICacheManagerPeerProvider.listRemoteCachePeers(Ehcache cache)
|
abstract List |
RMICacheManagerPeerProvider.listRemoteCachePeers(Ehcache cache)
|
protected List |
RMIBootstrapCacheLoader.listRemoteCachePeers(Ehcache cache)
Package protected List of cache peers |
void |
RMIBootstrapCacheLoader.load(Ehcache cache)
Bootstraps the cache from a random CachePeer. |
void |
RMISynchronousCacheReplicator.notifyElementEvicted(Ehcache cache,
Element element)
Called immediately after an element is evicted from the cache. |
void |
RMISynchronousCacheReplicator.notifyElementExpired(Ehcache cache,
Element element)
Called immediately after an element is found to be expired. |
void |
RMISynchronousCacheReplicator.notifyElementPut(Ehcache cache,
Element element)
Called immediately after an element has been put into the cache. |
void |
RMIAsynchronousCacheReplicator.notifyElementPut(Ehcache cache,
Element element)
Called immediately after an element has been put into the cache. |
void |
RMISynchronousCacheReplicator.notifyElementRemoved(Ehcache cache,
Element element)
Called immediately after an attempt to remove an element. |
void |
RMIAsynchronousCacheReplicator.notifyElementRemoved(Ehcache cache,
Element element)
Called immediately after an attempt to remove an element. |
void |
RMISynchronousCacheReplicator.notifyElementUpdated(Ehcache cache,
Element element)
Called immediately after an element has been put into the cache and the element already existed in the cache. |
void |
RMIAsynchronousCacheReplicator.notifyElementUpdated(Ehcache cache,
Element element)
Called immediately after an element has been put into the cache and the element already existed in the cache. |
void |
RMISynchronousCacheReplicator.notifyRemoveAll(Ehcache cache)
Called during removeAll() to indicate that the all
elements have been removed from the cache in a bulk operation. |
void |
RMIAsynchronousCacheReplicator.notifyRemoveAll(Ehcache cache)
Called during removeAll() to indicate that the all
elements have been removed from the cache in a bulk operation. |
protected static void |
RMISynchronousCacheReplicator.replicatePutNotification(Ehcache cache,
Element element)
Does the actual RMI remote call. |
protected static void |
RMISynchronousCacheReplicator.replicateRemovalNotification(Ehcache cache,
Serializable key)
Does the actual RMI remote call. |
protected void |
RMISynchronousCacheReplicator.replicateRemoveAllNotification(Ehcache cache)
Does the actual RMI remote call. |
Constructors in net.sf.ehcache.distribution with parameters of type Ehcache | |
---|---|
RMICachePeer(Ehcache cache,
String hostName,
Integer rmiRegistryPort,
Integer remoteObjectPort,
Integer socketTimeoutMillis)
Construct a new remote peer. |
|
TransactionalRMICachePeer(Ehcache cache,
String hostName,
Integer rmiRegistryPort,
Integer remoteObjectPort,
Integer socketTimeoutMillis)
Construct a new remote peer supporting transactions |
Uses of Ehcache in net.sf.ehcache.event |
---|
Methods in net.sf.ehcache.event with parameters of type Ehcache | |
---|---|
void |
TerracottaCacheEventReplication.notifyElementEvicted(Ehcache cache,
Element element)
Called immediately after an element is evicted from the cache. |
void |
CacheEventListener.notifyElementEvicted(Ehcache cache,
Element element)
Called immediately after an element is evicted from the cache. |
void |
TerracottaCacheEventReplication.notifyElementExpired(Ehcache cache,
Element element)
Called immediately after an element is found to be expired. |
void |
CacheEventListener.notifyElementExpired(Ehcache cache,
Element element)
Called immediately after an element is found to be expired. |
void |
TerracottaCacheEventReplication.notifyElementPut(Ehcache cache,
Element element)
Called immediately after an element has been put into the cache. |
void |
CacheEventListener.notifyElementPut(Ehcache cache,
Element element)
Called immediately after an element has been put into the cache. |
void |
TerracottaCacheEventReplication.notifyElementRemoved(Ehcache cache,
Element element)
Called immediately after an attempt to remove an element. |
void |
CacheEventListener.notifyElementRemoved(Ehcache cache,
Element element)
Called immediately after an attempt to remove an element. |
void |
TerracottaCacheEventReplication.notifyElementUpdated(Ehcache cache,
Element element)
Called immediately after an element has been put into the cache and the element already existed in the cache. |
void |
CacheEventListener.notifyElementUpdated(Ehcache cache,
Element element)
Called immediately after an element has been put into the cache and the element already existed in the cache. |
void |
TerracottaCacheEventReplication.notifyRemoveAll(Ehcache cache)
Called during removeAll() to indicate that the all
elements have been removed from the cache in a bulk operation. |
void |
CacheEventListener.notifyRemoveAll(Ehcache cache)
Called during removeAll() to indicate that the all
elements have been removed from the cache in a bulk operation. |
Constructors in net.sf.ehcache.event with parameters of type Ehcache | |
---|---|
RegisteredEventListeners(Ehcache cache)
Constructs a new notification service |
Uses of Ehcache in net.sf.ehcache.exceptionhandler |
---|
Methods in net.sf.ehcache.exceptionhandler that return Ehcache | |
---|---|
static Ehcache |
ExceptionHandlingDynamicCacheProxy.createProxy(Ehcache ehcache)
A simple factory method to hide the messiness of creating the proxy from clients. |
Methods in net.sf.ehcache.exceptionhandler with parameters of type Ehcache | |
---|---|
static Ehcache |
ExceptionHandlingDynamicCacheProxy.createProxy(Ehcache ehcache)
A simple factory method to hide the messiness of creating the proxy from clients. |
void |
CacheExceptionHandler.onException(Ehcache ehcache,
Object key,
Exception exception)
Called if an Exception occurs in a Cache method. |
Constructors in net.sf.ehcache.exceptionhandler with parameters of type Ehcache | |
---|---|
ExceptionHandlingDynamicCacheProxy(Ehcache ehcache)
Constructor: Use with something like: |
Uses of Ehcache in net.sf.ehcache.extension |
---|
Methods in net.sf.ehcache.extension with parameters of type Ehcache | |
---|---|
CacheExtension |
CacheExtension.clone(Ehcache cache)
Creates a clone of this extension. |
abstract CacheExtension |
CacheExtensionFactory.createCacheExtension(Ehcache cache,
Properties properties)
|
Uses of Ehcache in net.sf.ehcache.hibernate |
---|
Constructors in net.sf.ehcache.hibernate with parameters of type Ehcache | |
---|---|
EhCache(Ehcache cache)
Deprecated. Creates a new Hibernate pluggable cache by name. |
Uses of Ehcache in net.sf.ehcache.hibernate.regions |
---|
Fields in net.sf.ehcache.hibernate.regions declared as Ehcache | |
---|---|
protected Ehcache |
EhcacheDataRegion.cache
Ehcache instance backing this Hibernate data region. |
Methods in net.sf.ehcache.hibernate.regions that return Ehcache | |
---|---|
Ehcache |
EhcacheDataRegion.getEhcache()
Return the Ehcache instance backing this Hibernate data region. |
Constructors in net.sf.ehcache.hibernate.regions with parameters of type Ehcache | |
---|---|
EhcacheCollectionRegion(EhcacheAccessStrategyFactory accessStrategyFactory,
Ehcache underlyingCache,
org.hibernate.cfg.Settings settings,
org.hibernate.cache.CacheDataDescription metadata,
Properties properties)
Constructs an EhcacheCollectionRegion around the given underlying cache. |
|
EhcacheEntityRegion(EhcacheAccessStrategyFactory accessStrategyFactory,
Ehcache underlyingCache,
org.hibernate.cfg.Settings settings,
org.hibernate.cache.CacheDataDescription metadata,
Properties properties)
Constructs an EhcacheEntityRegion around the given underlying cache. |
|
EhcacheQueryResultsRegion(EhcacheAccessStrategyFactory accessStrategyFactory,
Ehcache underlyingCache,
Properties properties)
Constructs an EhcacheQueryResultsRegion around the given underlying cache. |
|
EhcacheTimestampsRegion(EhcacheAccessStrategyFactory accessStrategyFactory,
Ehcache underlyingCache,
Properties properties)
Constructs an EhcacheTimestampsRegion around the given underlying cache. |
Uses of Ehcache in net.sf.ehcache.hibernate.strategy |
---|
Constructors in net.sf.ehcache.hibernate.strategy with parameters of type Ehcache | |
---|---|
TransactionalEhcacheCollectionRegionAccessStrategy(EhcacheCollectionRegion region,
Ehcache ehcache,
org.hibernate.cfg.Settings settings)
Construct a new collection region access strategy. |
|
TransactionalEhcacheEntityRegionAccessStrategy(EhcacheEntityRegion region,
Ehcache ehcache,
org.hibernate.cfg.Settings settings)
Construct a new entity region access strategy. |
Uses of Ehcache in net.sf.ehcache.loader |
---|
Methods in net.sf.ehcache.loader with parameters of type Ehcache | |
---|---|
CacheLoader |
CacheLoader.clone(Ehcache cache)
Creates a clone of this extension. |
abstract CacheLoader |
CacheLoaderFactory.createCacheLoader(Ehcache cache,
Properties properties)
Creates a CacheLoader using the Ehcache configuration mechanism at the time the associated cache is created. |
Uses of Ehcache in net.sf.ehcache.management |
---|
Methods in net.sf.ehcache.management that return Ehcache | |
---|---|
Ehcache |
CacheStatistics.getEhcache()
Return the backing cache. |
Constructors in net.sf.ehcache.management with parameters of type Ehcache | |
---|---|
Cache(Ehcache cache)
A constructor for JCache. |
|
CacheConfiguration(Ehcache cache)
Constructs using a backing CacheConfiguration |
|
CacheStatistics(Ehcache ehcache)
Constructs an object from an ehcache statistics object |
Uses of Ehcache in net.sf.ehcache.management.sampled |
---|
Constructors in net.sf.ehcache.management.sampled with parameters of type Ehcache | |
---|---|
SampledCache(Ehcache cache)
Constructor accepting the backing Ehcache |
Uses of Ehcache in net.sf.ehcache.statistics |
---|
Methods in net.sf.ehcache.statistics with parameters of type Ehcache | |
---|---|
void |
NullLiveCacheStatisticsData.notifyElementEvicted(Ehcache cache,
Element element)
Called immediately after an element is evicted from the cache. |
void |
LiveCacheStatisticsWrapper.notifyElementEvicted(Ehcache cache,
Element element)
Called immediately after an element is evicted from the cache. |
void |
LiveCacheStatisticsImpl.notifyElementEvicted(Ehcache cache,
Element element)
Called immediately after an element is evicted from the cache. |
void |
NullLiveCacheStatisticsData.notifyElementExpired(Ehcache cache,
Element element)
Called immediately after an element is found to be expired. |
void |
LiveCacheStatisticsWrapper.notifyElementExpired(Ehcache cache,
Element element)
Called immediately after an element is found to be expired. |
void |
LiveCacheStatisticsImpl.notifyElementExpired(Ehcache cache,
Element element)
Called immediately after an element is found to be expired. |
void |
NullLiveCacheStatisticsData.notifyElementPut(Ehcache cache,
Element element)
Called immediately after an element has been put into the cache. |
void |
LiveCacheStatisticsWrapper.notifyElementPut(Ehcache cache,
Element element)
Called immediately after an element has been put into the cache. |
void |
LiveCacheStatisticsImpl.notifyElementPut(Ehcache cache,
Element element)
Called immediately after an element has been put into the cache. |
void |
NullLiveCacheStatisticsData.notifyElementRemoved(Ehcache cache,
Element element)
Called immediately after an attempt to remove an element. |
void |
LiveCacheStatisticsWrapper.notifyElementRemoved(Ehcache cache,
Element element)
Called immediately after an attempt to remove an element. |
void |
LiveCacheStatisticsImpl.notifyElementRemoved(Ehcache cache,
Element element)
Called immediately after an attempt to remove an element. |
void |
NullLiveCacheStatisticsData.notifyElementUpdated(Ehcache cache,
Element element)
Called immediately after an element has been put into the cache and the element already existed in the cache. |
void |
LiveCacheStatisticsWrapper.notifyElementUpdated(Ehcache cache,
Element element)
Called immediately after an element has been put into the cache and the element already existed in the cache. |
void |
LiveCacheStatisticsImpl.notifyElementUpdated(Ehcache cache,
Element element)
Called immediately after an element has been put into the cache and the element already existed in the cache. |
void |
NullLiveCacheStatisticsData.notifyRemoveAll(Ehcache cache)
Called during removeAll() to indicate that the all
elements have been removed from the cache in a bulk operation. |
void |
LiveCacheStatisticsWrapper.notifyRemoveAll(Ehcache cache)
Called during removeAll() to indicate that the all
elements have been removed from the cache in a bulk operation. |
void |
LiveCacheStatisticsImpl.notifyRemoveAll(Ehcache cache)
Called during removeAll() to indicate that the all
elements have been removed from the cache in a bulk operation. |
Constructors in net.sf.ehcache.statistics with parameters of type Ehcache | |
---|---|
LiveCacheStatisticsImpl(Ehcache cache)
Constructor that accepts the backing Ehcache , needed for LiveCacheStatisticsImpl.getSize() |
|
LiveCacheStatisticsWrapper(Ehcache cache)
Constructor accepting the backing cache. |
Uses of Ehcache in net.sf.ehcache.store |
---|
Fields in net.sf.ehcache.store declared as Ehcache | |
---|---|
protected Ehcache |
LruMemoryStore.cache
The cache this store is associated with. |
protected Ehcache |
MemoryStore.cache
The cache this store is associated with. |
Methods in net.sf.ehcache.store with parameters of type Ehcache | |
---|---|
static MemoryStore |
MemoryStore.create(Ehcache cache,
Store diskStore)
A factory method to create a MemoryStore. |
static DiskStore |
DiskStore.create(Ehcache cache,
String diskStorePath)
A factory method to create a DiskStore. |
Constructors in net.sf.ehcache.store with parameters of type Ehcache | |
---|---|
DiskStore(Ehcache cache,
String diskPath)
Creates a disk store. |
|
LruMemoryStore(Ehcache cache,
Store diskStore)
Constructor for the LruMemoryStore object The backing LinkedHashMap is created with LRU by access order. |
|
MemoryStore(Ehcache cache,
Store diskStore)
Constructs things that all MemoryStores have in common. |
Uses of Ehcache in net.sf.ehcache.store.compound.factories |
---|
Constructors in net.sf.ehcache.store.compound.factories with parameters of type Ehcache | |
---|---|
DiskOverflowStorageFactory(Ehcache cache,
String diskPath)
Constructs an overflow factory for the given cache and disk path. |
|
DiskPersistentStorageFactory(Ehcache cache,
String diskPath)
Constructs an disk persistent factory for the given cache and disk path. |
Uses of Ehcache in net.sf.ehcache.terracotta |
---|
Methods in net.sf.ehcache.terracotta with parameters of type Ehcache | |
---|---|
CacheEventListener |
ClusteredInstanceFactory.createEventReplicator(Ehcache cache)
Create a replicator for the cache events of a given cache |
CacheEventListener |
ClusteredInstanceFactoryWrapper.createEventReplicator(Ehcache cache)
Create a replicator for the cache events of a given cache |
Store |
ClusteredInstanceFactory.createStore(Ehcache cache)
Create a Store instance for the given cache |
Store |
ClusteredInstanceFactoryWrapper.createStore(Ehcache cache)
Create a Store instance for the given cache |
WriteBehind |
ClusteredInstanceFactory.createWriteBehind(Ehcache cache)
Create an WriteBehind instance for the given cache |
WriteBehind |
ClusteredInstanceFactoryWrapper.createWriteBehind(Ehcache cache)
Create an WriteBehind instance for the given cache |
Uses of Ehcache in net.sf.ehcache.transaction.local |
---|
Constructors in net.sf.ehcache.transaction.local with parameters of type Ehcache | |
---|---|
LocalTransactionStore(TransactionController transactionController,
SoftLockFactory softLockFactory,
Ehcache cache,
Store store,
ReadWriteCopyStrategy<Element> copyStrategy)
Create a new LocalTransactionStore instance |
Uses of Ehcache in net.sf.ehcache.transaction.xa |
---|
Constructors in net.sf.ehcache.transaction.xa with parameters of type Ehcache | |
---|---|
EhcacheXAResourceImpl(Ehcache cache,
Store underlyingStore,
TransactionManagerLookup txnManagerLookup,
SoftLockFactory softLockFactory,
TransactionIDFactory transactionIDFactory)
Constructor |
|
XATransactionStore(TransactionManagerLookup transactionManagerLookup,
SoftLockFactory softLockFactory,
TransactionIDFactory transactionIdFactory,
Ehcache cache,
Store store,
ReadWriteCopyStrategy<Element> copyStrategy)
Constructor |
Uses of Ehcache in net.sf.ehcache.util |
---|
Methods in net.sf.ehcache.util with parameters of type Ehcache | |
---|---|
static void |
CacheTransactionHelper.beginTransactionIfNeeded(Ehcache cache)
Begin a transaction on the current thread if the cache is configured as transactional, otherwise this method does nothing. |
static void |
CacheTransactionHelper.commitTransactionIfNeeded(Ehcache cache)
Commit a transaction previously begun on the current thread if the cache is configured as transactional, otherwise this method does nothing. |
static boolean |
CacheTransactionHelper.isTransactionStarted(Ehcache cache)
Check if a transaction has begun on the current thread if the cache is configured as transactional, otherwise always return false. |
Uses of Ehcache in net.sf.ehcache.writer |
---|
Methods in net.sf.ehcache.writer with parameters of type Ehcache | |
---|---|
CacheWriter |
AbstractCacheWriter.clone(Ehcache cache)
Creates a clone of this writer. |
CacheWriter |
CacheWriter.clone(Ehcache cache)
Creates a clone of this writer. |
abstract CacheWriter |
CacheWriterFactory.createCacheWriter(Ehcache cache,
Properties properties)
Creates a CacheWriter using the Ehcache configuration mechanism at the time the associated cache is created. |
|
ehcache | |||||||||
PREV NEXT | FRAMES NO FRAMES |