Uses of Interface
net.sf.ehcache.Ehcache
-
Packages that use Ehcache Package Description 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.constructs.classloader ClassLoader contstructs packagenet.sf.ehcache.constructs.eventual Construct related to eventual operationsnet.sf.ehcache.constructs.readthrough Ehcache simple read through cache decorator packagenet.sf.ehcache.constructs.refreshahead Ehcache simple refresh-ahead cache decorator packagenet.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.search.query This package contains the QueryMangerBuilder and the QueryManager interface to support BMSQL.net.sf.ehcache.statistics This package contains classes related to LiveCacheStatistics and its implementation.net.sf.ehcache.statistics.beans This package contains classes related to statistics mbean implementation.net.sf.ehcache.store Store package.net.sf.ehcache.store.cachingtier Contains the caching tier implementationsnet.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.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 Modifier and Type Class Description classCacheCache is the central class in ehcache.Methods in net.sf.ehcache that return Ehcache Modifier and Type Method Description EhcacheCacheManager. addCacheIfAbsent(java.lang.String cacheName)Only creates and adds the cache to the CacheManager should not one with the same name already be presentEhcacheCacheManager. addCacheIfAbsent(Ehcache cache)Only adds the cache to the CacheManager should not one with the same name already be presentEhcacheCacheManager. getEhcache(java.lang.String name)Gets an EhcacheMethods in net.sf.ehcache with parameters of type Ehcache Modifier and Type Method Description voidCacheManager. addCache(Ehcache cache)Adds anEhcacheto the CacheManager.EhcacheCacheManager. addCacheIfAbsent(Ehcache cache)Only adds the cache to the CacheManager should not one with the same name already be presentvoidCacheManager. addDecoratedCache(Ehcache decoratedCache)Adds a decoratedEhcacheto the CacheManager.voidCacheManager. addDecoratedCacheIfAbsent(Ehcache decoratedCache)Same asCacheManager.addDecoratedCache(Ehcache)but does not throw exception if another cache with same name already exists.SoftLockManagerFeaturesManager. createSoftLockManager(Ehcache cache, SoftLockFactory lockFactory)Create a soft-lock map for the given cacheCacheEventListenerCacheManager. createTerracottaEventReplicator(Ehcache cache)Create/access the appropriate clustered cache event replicator for the given cacheStoreCacheManager. createTerracottaStore(Ehcache cache)Create/access the appropriate terracotta clustered store for the given cacheWriteBehindCacheManager. createTerracottaWriteBehind(Ehcache cache)Create/access the appropriate clustered write behind queue for the given cachestatic voidCacheInitializationHelper. initializeEhcache(CacheManager cacheManager, Ehcache cache)Initialize the givenEhcacheusing the givenCacheManagervoidCacheInitializationHelper. initializeEhcache(Ehcache cache)Initialize theEhcache.voidCacheManager. 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. -
Uses of Ehcache in net.sf.ehcache.bootstrap
Methods in net.sf.ehcache.bootstrap with parameters of type Ehcache Modifier and Type Method Description voidBootstrapCacheLoader. 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 Modifier and Type Method Description EhcacheConfigurationHelper. createDefaultCache()Methods in net.sf.ehcache.config that return types with arguments of type Ehcache Modifier and Type Method Description java.util.List<Ehcache>ConfigurationHelper. createCacheDecorators(Ehcache cache)Creates decorated ehcaches for the cache, if any configured in ehcache.xmlstatic java.util.List<Ehcache>ConfigurationHelper. createDefaultCacheDecorators(Ehcache cache, CacheConfiguration defaultCacheConfiguration, java.lang.ClassLoader loader)Creates default cache decorators specified in the default cache configuration if anyMethods in net.sf.ehcache.config with parameters of type Ehcache Modifier and Type Method Description java.util.List<Ehcache>ConfigurationHelper. createCacheDecorators(Ehcache cache)Creates decorated ehcaches for the cache, if any configured in ehcache.xmlstatic java.util.List<Ehcache>ConfigurationHelper. createDefaultCacheDecorators(Ehcache cache, CacheConfiguration defaultCacheConfiguration, java.lang.ClassLoader loader)Creates default cache decorators specified in the default cache configuration if anystatic SizeOfPolicyConfiguration.MaxDepthExceededBehaviorSizeOfPolicyConfiguration. resolveBehavior(Ehcache cache)Helper method which resolves the MaxDepthExceededBehavior of a cache, using the cache manager's one if none was configured on the cache itself.static intSizeOfPolicyConfiguration. resolveMaxDepth(Ehcache cache)Helper method which resolves the max depth of a cache, using the cache manager's one if none was configured on the cache itself. -
Uses of Ehcache in net.sf.ehcache.constructs
Classes in net.sf.ehcache.constructs that implement Ehcache Modifier and Type Class Description classEhcacheDecoratorAdapterAdapter class for Ehcache interface decorators.Fields in net.sf.ehcache.constructs declared as Ehcache Modifier and Type Field Description protected EhcacheEhcacheDecoratorAdapter. underlyingCacheThe decoratedEhcache, has protected visibility so that sub-classes can have access to it.Methods in net.sf.ehcache.constructs that return Ehcache Modifier and Type Method Description abstract EhcacheCacheDecoratorFactory. createDecoratedEhcache(Ehcache cache, java.util.Properties properties)Creates a decoratedEhcacheusing the properties specified for configuring the decorator.abstract EhcacheCacheDecoratorFactory. createDefaultDecoratedEhcache(Ehcache cache, java.util.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 Modifier and Type Method Description abstract EhcacheCacheDecoratorFactory. createDecoratedEhcache(Ehcache cache, java.util.Properties properties)Creates a decoratedEhcacheusing the properties specified for configuring the decorator.abstract EhcacheCacheDecoratorFactory. createDefaultDecoratedEhcache(Ehcache cache, java.util.Properties properties)This method is called when the factory is specified for the defaultCache in the config.static java.lang.StringCacheDecoratorFactory. generateDefaultDecoratedCacheName(Ehcache cache, java.lang.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 Constructor Description 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 Modifier and Type Class Description classBlockingCacheA blocking decorator for an Ehcache, backed by aEhcache.classSelfPopulatingCacheA selfpopulating decorator forEhcachethat creates entries on demand.classUpdatingSelfPopulatingCacheACachebacked cache that creates entries on demand.Methods in net.sf.ehcache.constructs.blocking that return Ehcache Modifier and Type Method Description protected EhcacheBlockingCache. getCache()Retrieve the EHCache backing cacheMethods in net.sf.ehcache.constructs.blocking with parameters of type Ehcache Modifier and Type Method Description protected voidSelfPopulatingCache. refreshElement(Element element, Ehcache backingCache)Refresh a single element.protected ElementSelfPopulatingCache. refreshElement(Element element, Ehcache backingCache, boolean quiet)Refresh a single element.Constructors in net.sf.ehcache.constructs.blocking with parameters of type Ehcache Constructor Description 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, int numberOfStripes, CacheEntryFactory factory)Create a SelfPopulatingCache, with a specific number of stripes passed to the underlyingBlockingCache.SelfPopulatingCache(Ehcache cache, CacheEntryFactory factory)Creates a SelfPopulatingCache.UpdatingSelfPopulatingCache(Ehcache cache, UpdatingCacheEntryFactory factory)Creates a SelfPopulatingCache. -
Uses of Ehcache in net.sf.ehcache.constructs.classloader
Classes in net.sf.ehcache.constructs.classloader that implement Ehcache Modifier and Type Class Description classClassLoaderAwareCacheA cache decorator that adjusts the Thread context classloader (TCCL) for every cache operation.classInternalClassLoaderAwareCacheExtension of Class Loader Aware cache to accommodate the removeAndReturnElement method.Fields in net.sf.ehcache.constructs.classloader declared as Ehcache Modifier and Type Field Description protected EhcacheClassLoaderAwareCache. cacheUsed by InternalClassLoaderAwareCacheConstructors in net.sf.ehcache.constructs.classloader with parameters of type Ehcache Constructor Description ClassLoaderAwareCache(Ehcache cache, java.lang.ClassLoader classLoader)Constructor -
Uses of Ehcache in net.sf.ehcache.constructs.eventual
Classes in net.sf.ehcache.constructs.eventual that implement Ehcache Modifier and Type Class Description classStronglyConsistentCacheAccessorStronglyConsistentCacheAccessor is a decorator that accepts distributed caches configured with eventual consistency.Constructors in net.sf.ehcache.constructs.eventual with parameters of type Ehcache Constructor Description StronglyConsistentCacheAccessor(Ehcache underlyingCache)Constructor accepting the cache to be decorated. -
Uses of Ehcache in net.sf.ehcache.constructs.readthrough
Classes in net.sf.ehcache.constructs.readthrough that implement Ehcache Modifier and Type Class Description classReadThroughCacheThis class implements the simplest of all possible read through cache behaviors, where a call the get() will delegate to a call to getWithLoader().Methods in net.sf.ehcache.constructs.readthrough that return Ehcache Modifier and Type Method Description EhcacheReadThroughCacheFactory. createDecoratedEhcache(Ehcache cache, java.util.Properties properties)EhcacheReadThroughCacheFactory. createDefaultDecoratedEhcache(Ehcache cache, java.util.Properties properties)Methods in net.sf.ehcache.constructs.readthrough with parameters of type Ehcache Modifier and Type Method Description EhcacheReadThroughCacheFactory. createDecoratedEhcache(Ehcache cache, java.util.Properties properties)EhcacheReadThroughCacheFactory. createDefaultDecoratedEhcache(Ehcache cache, java.util.Properties properties)Constructors in net.sf.ehcache.constructs.readthrough with parameters of type Ehcache Constructor Description ReadThroughCache(Ehcache underlyingCache, ReadThroughCacheConfiguration config) -
Uses of Ehcache in net.sf.ehcache.constructs.refreshahead
Classes in net.sf.ehcache.constructs.refreshahead that implement Ehcache Modifier and Type Class Description classRefreshAheadCacheA cache decorator which implements read ahead refreshing.Methods in net.sf.ehcache.constructs.refreshahead that return Ehcache Modifier and Type Method Description EhcacheRefreshAheadCacheFactory. createDecoratedEhcache(Ehcache cache, java.util.Properties properties)EhcacheRefreshAheadCacheFactory. createDefaultDecoratedEhcache(Ehcache cache, java.util.Properties properties)Methods in net.sf.ehcache.constructs.refreshahead with parameters of type Ehcache Modifier and Type Method Description EhcacheRefreshAheadCacheFactory. createDecoratedEhcache(Ehcache cache, java.util.Properties properties)EhcacheRefreshAheadCacheFactory. createDefaultDecoratedEhcache(Ehcache cache, java.util.Properties properties)static java.util.Set<ExtendedStatistics.Statistic<java.lang.Number>>RefreshAheadCache. findBacklogStatistic(Ehcache cache)Find backlog statistic.static java.util.Set<ExtendedStatistics.Statistic<java.lang.Number>>RefreshAheadCache. findDroppedStatistic(Ehcache cache)Find dropped statistic.static java.util.Set<ExtendedStatistics.Statistic<java.lang.Number>>RefreshAheadCache. findOfferStatistic(Ehcache cache)Find offer statistic.static java.util.Set<ExtendedStatistics.Statistic<java.lang.Number>>RefreshAheadCache. findProcessedStatistic(Ehcache cache)Find processed statistic.static java.util.Set<ExtendedStatistics.Statistic<java.lang.Number>>RefreshAheadCache. findRefreshedStatistic(Ehcache cache)Find refreshed counter statistic.Constructors in net.sf.ehcache.constructs.refreshahead with parameters of type Ehcache Constructor Description RefreshAheadCache(Ehcache adaptedCache, RefreshAheadCacheConfiguration refreshConfig)Create a Refresh Ahead Cache Adaptor with the specified configuration. -
Uses of Ehcache in net.sf.ehcache.distribution
Methods in net.sf.ehcache.distribution that return Ehcache Modifier and Type Method Description EhcacheEventMessage. getEhcache()Gets the associatedEhcache.Methods in net.sf.ehcache.distribution with parameters of type Ehcache Modifier and Type Method Description protected java.util.ListRMIBootstrapCacheLoader. acquireCachePeers(Ehcache cache)Acquires the cache peers for this cache.voidRMIBootstrapCacheLoader. doLoad(Ehcache cache)Bootstraps the cache from a random CachePeer.protected voidRMIBootstrapCacheLoader. fetchAndPutElements(Ehcache cache, java.util.List requestChunk, CachePeer cachePeer)Fetches a chunk of elements from a remote cache peerprotected booleanRMICacheManagerPeerListener. isDistributed(Ehcache cache)Determine if the given cache is distributed.java.util.ListCacheManagerPeerProvider. listRemoteCachePeers(Ehcache cache)java.util.ListManualRMICacheManagerPeerProvider. listRemoteCachePeers(Ehcache cache)java.util.ListMulticastRMICacheManagerPeerProvider. listRemoteCachePeers(Ehcache cache)protected java.util.ListRMIBootstrapCacheLoader. listRemoteCachePeers(Ehcache cache)Package protected List of cache peersabstract java.util.ListRMICacheManagerPeerProvider. listRemoteCachePeers(Ehcache cache)voidRMIBootstrapCacheLoader. load(Ehcache cache)Bootstraps the cache from a random CachePeer.voidRMISynchronousCacheReplicator. notifyElementEvicted(Ehcache cache, Element element)Called immediately after an element is evicted from the cache.voidRMISynchronousCacheReplicator. notifyElementExpired(Ehcache cache, Element element)Called immediately after an element is found to be expired.voidRMIAsynchronousCacheReplicator. notifyElementPut(Ehcache cache, Element element)Called immediately after an element has been put into the cache.voidRMISynchronousCacheReplicator. notifyElementPut(Ehcache cache, Element element)Called immediately after an element has been put into the cache.voidRMIAsynchronousCacheReplicator. notifyElementRemoved(Ehcache cache, Element element)Called immediately after an attempt to remove an element.voidRMISynchronousCacheReplicator. notifyElementRemoved(Ehcache cache, Element element)Called immediately after an attempt to remove an element.voidRMIAsynchronousCacheReplicator. notifyElementUpdated(Ehcache cache, Element element)Called immediately after an element has been put into the cache and the element already existed in the cache.voidRMISynchronousCacheReplicator. notifyElementUpdated(Ehcache cache, Element element)Called immediately after an element has been put into the cache and the element already existed in the cache.voidRMIAsynchronousCacheReplicator. notifyRemoveAll(Ehcache cache)Called duringremoveAll()to indicate that the all elements have been removed from the cache in a bulk operation.voidRMISynchronousCacheReplicator. notifyRemoveAll(Ehcache cache)Called duringremoveAll()to indicate that the all elements have been removed from the cache in a bulk operation.protected static voidRMISynchronousCacheReplicator. replicatePutNotification(Ehcache cache, Element element)Does the actual RMI remote call.protected static voidRMISynchronousCacheReplicator. replicateRemovalNotification(Ehcache cache, java.io.Serializable key)Does the actual RMI remote call.protected voidRMISynchronousCacheReplicator. replicateRemoveAllNotification(Ehcache cache)Does the actual RMI remote call.Constructors in net.sf.ehcache.distribution with parameters of type Ehcache Constructor Description EventMessage(Ehcache cache, java.io.Serializable key)Full constructor.RMICachePeer(Ehcache cache, java.lang.String hostName, java.lang.Integer rmiRegistryPort, java.lang.Integer remoteObjectPort, java.lang.Integer socketTimeoutMillis)Construct a new remote peer.RmiEventMessage(Ehcache cache, RmiEventMessage.RmiEventType type, java.io.Serializable key, Element element)Full constructor.TransactionalRMICachePeer(Ehcache cache, java.lang.String hostName, java.lang.Integer rmiRegistryPort, java.lang.Integer remoteObjectPort, java.lang.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 Modifier and Type Method Description voidCacheEventListener. notifyElementEvicted(Ehcache cache, Element element)Called immediately after an element is evicted from the cache.voidCacheEventListenerAdapter. notifyElementEvicted(Ehcache cache, Element element)Called immediately after an element is evicted from the cache.voidTerracottaCacheEventReplication. notifyElementEvicted(Ehcache cache, Element element)Called immediately after an element is evicted from the cache.voidCacheEventListener. notifyElementExpired(Ehcache cache, Element element)Called immediately after an element is found to be expired.voidCacheEventListenerAdapter. notifyElementExpired(Ehcache cache, Element element)Called immediately after an element is found to be expired.voidTerracottaCacheEventReplication. notifyElementExpired(Ehcache cache, Element element)Called immediately after an element is found to be expired.voidCacheEventListener. notifyElementPut(Ehcache cache, Element element)Called immediately after an element has been put into the cache.voidCacheEventListenerAdapter. notifyElementPut(Ehcache cache, Element element)Called immediately after an element has been put into the cache.voidTerracottaCacheEventReplication. notifyElementPut(Ehcache cache, Element element)Called immediately after an element has been put into the cache.voidCacheEventListener. notifyElementRemoved(Ehcache cache, Element element)Called immediately after an attempt to remove an element.voidCacheEventListenerAdapter. notifyElementRemoved(Ehcache cache, Element element)Called immediately after an attempt to remove an element.voidTerracottaCacheEventReplication. notifyElementRemoved(Ehcache cache, Element element)Called immediately after an attempt to remove an element.voidCacheEventListener. notifyElementUpdated(Ehcache cache, Element element)Called immediately after an element has been put into the cache and the element already existed in the cache.voidCacheEventListenerAdapter. notifyElementUpdated(Ehcache cache, Element element)Called immediately after an element has been put into the cache and the element already existed in the cache.voidTerracottaCacheEventReplication. notifyElementUpdated(Ehcache cache, Element element)Called immediately after an element has been put into the cache and the element already existed in the cache.voidCacheEventListener. notifyRemoveAll(Ehcache cache)Called duringremoveAll()to indicate that the all elements have been removed from the cache in a bulk operation.voidCacheEventListenerAdapter. notifyRemoveAll(Ehcache cache)Called duringremoveAll()to indicate that the all elements have been removed from the cache in a bulk operation.voidTerracottaCacheEventReplication. notifyRemoveAll(Ehcache cache)Called duringremoveAll()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 Constructor Description RegisteredEventListeners(Ehcache cache, CacheStoreHelper helper)Construct a registered event listeners service -
Uses of Ehcache in net.sf.ehcache.exceptionhandler
Methods in net.sf.ehcache.exceptionhandler that return Ehcache Modifier and Type Method Description static EhcacheExceptionHandlingDynamicCacheProxy. 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 Modifier and Type Method Description static EhcacheExceptionHandlingDynamicCacheProxy. createProxy(Ehcache ehcache)A simple factory method to hide the messiness of creating the proxy from clients.voidCacheExceptionHandler. onException(Ehcache ehcache, java.lang.Object key, java.lang.Exception exception)Called if an Exception occurs in a Cache method.Constructors in net.sf.ehcache.exceptionhandler with parameters of type Ehcache Constructor Description 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 Modifier and Type Method Description CacheExtensionCacheExtension. clone(Ehcache cache)Creates a clone of this extension.abstract CacheExtensionCacheExtensionFactory. createCacheExtension(Ehcache cache, java.util.Properties properties) -
Uses of Ehcache in net.sf.ehcache.hibernate
Constructors in net.sf.ehcache.hibernate with parameters of type Ehcache Constructor Description 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 Modifier and Type Field Description protected EhcacheEhcacheDataRegion. cacheEhcache instance backing this Hibernate data region.Methods in net.sf.ehcache.hibernate.regions that return Ehcache Modifier and Type Method Description EhcacheEhcacheDataRegion. getEhcache()Return the Ehcache instance backing this Hibernate data region.Constructors in net.sf.ehcache.hibernate.regions with parameters of type Ehcache Constructor Description EhcacheCollectionRegion(EhcacheAccessStrategyFactory accessStrategyFactory, Ehcache underlyingCache, org.hibernate.cfg.Settings settings, org.hibernate.cache.CacheDataDescription metadata, java.util.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, java.util.Properties properties)Constructs an EhcacheEntityRegion around the given underlying cache.EhcacheQueryResultsRegion(EhcacheAccessStrategyFactory accessStrategyFactory, Ehcache underlyingCache, java.util.Properties properties)Constructs an EhcacheQueryResultsRegion around the given underlying cache.EhcacheTimestampsRegion(EhcacheAccessStrategyFactory accessStrategyFactory, Ehcache underlyingCache, java.util.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 Constructor Description 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 Modifier and Type Method Description CacheLoaderCacheLoader. clone(Ehcache cache)Creates a clone of this extension.abstract CacheLoaderCacheLoaderFactory. createCacheLoader(Ehcache cache, java.util.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 Modifier and Type Method Description EhcacheCacheStatistics. getEhcache()Return the backing cache.Constructors in net.sf.ehcache.management with parameters of type Ehcache Constructor Description Cache(Ehcache cache)A constructor for JCache.CacheConfiguration(Ehcache cache)Constructs using a backing CacheConfigurationCacheStatistics(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 Constructor Description CacheSamplerImpl(Ehcache cache)Constructor accepting the backingEhcacheSampledCache(Ehcache cache)Constructor accepting the backingEhcache -
Uses of Ehcache in net.sf.ehcache.search.query
Methods in net.sf.ehcache.search.query with parameters of type Ehcache Modifier and Type Method Description QueryManagerBuilderQueryManagerBuilder. addCache(Ehcache cache)Adds aCacheto the internal state and allows it to be used as a target in a BMSQL statement's FROM clause. -
Uses of Ehcache in net.sf.ehcache.statistics
Constructors in net.sf.ehcache.statistics with parameters of type Ehcache Constructor Description StatisticsGateway(Ehcache ehcache, java.util.concurrent.ScheduledExecutorService executor)Instantiates a new statistics placeholder. -
Uses of Ehcache in net.sf.ehcache.statistics.beans
Methods in net.sf.ehcache.statistics.beans with parameters of type Ehcache Modifier and Type Method Description static java.lang.StringExtendedStatisticsMBean. divineName(Ehcache cache)Divine the name.Constructors in net.sf.ehcache.statistics.beans with parameters of type Ehcache Constructor Description ExtendedStatisticsMBean(Ehcache cache, ExtendedStatistics extendedStatistics)Instantiates a new extended statistics m bean. -
Uses of Ehcache in net.sf.ehcache.store
Fields in net.sf.ehcache.store declared as Ehcache Modifier and Type Field Description protected EhcacheLruMemoryStore. cacheThe cache this store is associated with.Methods in net.sf.ehcache.store with parameters of type Ehcache Modifier and Type Method Description static StoreMemoryStore. create(Ehcache cache, Pool pool)A factory method to create a MemoryStore.protected voidDiskStoreBootstrapCacheLoader. doLoad(Ehcache cache)Performs bootstrap loading.protected booleanMemoryLimitedCacheLoader. isInMemoryLimitReached(Ehcache cache, int loadedElements)Checks whether the cache has reached the limit configured for in-memory storagevoidDiskStoreBootstrapCacheLoader. load(Ehcache cache)Instructs the loader to load the given cacheConstructors in net.sf.ehcache.store with parameters of type Ehcache Constructor Description BruteForceSearchManager(Ehcache cache)Create a BruteForceSearchManagerLruMemoryStore(Ehcache cache, Store diskStore)Constructor for the LruMemoryStore object The backingLinkedHashMapis created with LRU by access order.MemoryStore(Ehcache cache, Pool pool, MemoryStore.BackingFactory factory, SearchManager searchManager)Constructs things that all MemoryStores have in common. -
Uses of Ehcache in net.sf.ehcache.store.cachingtier
Methods in net.sf.ehcache.store.cachingtier with parameters of type Ehcache Modifier and Type Method Description static OnHeapCachingTier<java.lang.Object,Element>OnHeapCachingTier. createOnHeapCache(Ehcache cache, Pool onHeapPool)Factory method -
Uses of Ehcache in net.sf.ehcache.store.disk
Methods in net.sf.ehcache.store.disk with parameters of type Ehcache Modifier and Type Method Description static DiskStoreDiskStore. create(Ehcache cache, Pool onHeapPool, Pool onDiskPool)Creates a persitent-to-disk store for the given cache, using the given disk path.static StoreDiskStore. createCacheStore(Ehcache cache, Pool onHeapPool, Pool onDiskPool)Create a DiskBackedMemoryStore instanceConstructors in net.sf.ehcache.store.disk with parameters of type Ehcache Constructor Description DiskStorageFactory(Ehcache cache, RegisteredEventListeners cacheEventNotificationService)Constructs an disk persistent factory for the given cache and disk path. -
Uses of Ehcache in net.sf.ehcache.terracotta
Subinterfaces of Ehcache in net.sf.ehcache.terracotta Modifier and Type Interface Description interfaceInternalEhcacheThis is an extension of the Ehcache interface to allow addition of new methods to Cache without breaking the public contract.Methods in net.sf.ehcache.terracotta with parameters of type Ehcache Modifier and Type Method Description CacheEventListenerClusteredInstanceFactory. createEventReplicator(Ehcache cache)Create a replicator for the cache events of a given cacheCacheEventListenerClusteredInstanceFactoryWrapper. createEventReplicator(Ehcache cache)Create a replicator for the cache events of a given cacheTerracottaStoreClusteredInstanceFactory. createNonStopStore(java.util.concurrent.Callable<TerracottaStore> store, Ehcache cache)Create a NonStopStoreWrapper for a terracottaStoreTerracottaStoreClusteredInstanceFactoryWrapper. createNonStopStore(java.util.concurrent.Callable<TerracottaStore> store, Ehcache cache)StoreClusteredInstanceFactory. createStore(Ehcache cache)Create a Store instance for the given cacheStoreClusteredInstanceFactoryWrapper. createStore(Ehcache cache)Create a Store instance for the given cacheWriteBehindClusteredInstanceFactory. createWriteBehind(Ehcache cache)Create an WriteBehind instance for the given cacheWriteBehindClusteredInstanceFactoryWrapper. createWriteBehind(Ehcache cache)Create an WriteBehind instance for the given cacheSoftLockManagerClusteredInstanceFactory. getOrCreateSoftLockManager(Ehcache cache)Create a SoftLockManager for a cacheSoftLockManagerClusteredInstanceFactoryWrapper. getOrCreateSoftLockManager(Ehcache cache)Create a SoftLockManager for a cachevoidTerracottaBootstrapCacheLoader. load(Ehcache cache)Instructs the loader to load the given cache -
Uses of Ehcache in net.sf.ehcache.transaction
Methods in net.sf.ehcache.transaction with parameters of type Ehcache Modifier and Type Method Description XidTransactionIDDelegatingTransactionIDFactory. createXidTransactionID(javax.transaction.xa.Xid xid, Ehcache cache)Create a transaction ID based on a XID for uniquenessXidTransactionIDTransactionIDFactory. createXidTransactionID(javax.transaction.xa.Xid xid, Ehcache cache)Create a transaction ID based on a XID for uniquenessXidTransactionIDTransactionIDFactoryImpl. createXidTransactionID(javax.transaction.xa.Xid xid, Ehcache cache)Create a transaction ID based on a XID for uniquenessjava.util.Set<XidTransactionID>AbstractTransactionIDFactory. getAllXidTransactionIDsFor(Ehcache cache)Get the set of all XID transactions of a cache.java.util.Set<XidTransactionID>DelegatingTransactionIDFactory. getAllXidTransactionIDsFor(Ehcache cache)java.util.Set<XidTransactionID>TransactionIDFactory. getAllXidTransactionIDsFor(Ehcache cache)Get the set of all XID transactions of a cache. -
Uses of Ehcache in net.sf.ehcache.transaction.local
Constructors in net.sf.ehcache.transaction.local with parameters of type Ehcache Constructor Description LocalTransactionStore(TransactionController transactionController, TransactionIDFactory transactionIdFactory, SoftLockManager softLockManager, Ehcache cache, Store store, ElementValueComparator comparator)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 Constructor 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)ConstructorXATransactionStore(TransactionManagerLookup transactionManagerLookup, SoftLockManager softLockManager, TransactionIDFactory transactionIdFactory, Ehcache cache, Store store, ElementValueComparator comparator)Constructor -
Uses of Ehcache in net.sf.ehcache.util
Methods in net.sf.ehcache.util with parameters of type Ehcache Modifier and Type Method Description static voidCacheTransactionHelper. beginTransactionIfNeeded(Ehcache cache)Begin a transaction on the current thread if the cache is configured as transactional, otherwise this method does nothing.static voidCacheTransactionHelper. 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 booleanCacheTransactionHelper. 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 Modifier and Type Method Description CacheWriterAbstractCacheWriter. clone(Ehcache cache)Creates a clone of this writer.CacheWriterCacheWriter. clone(Ehcache cache)Creates a clone of this writer.abstract CacheWriterCacheWriterFactory. createCacheWriter(Ehcache cache, java.util.Properties properties)Creates a CacheWriter using the Ehcache configuration mechanism at the time the associated cache is created.
-