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.constructs |
The constructs package builds on top of the core ehcache classes to create
implementations for common caching patterns.
|
net.sf.ehcache.constructs.classloader |
ClassLoader contstructs package
|
net.sf.ehcache.distribution |
This package is for cache replication.
|
net.sf.ehcache.store |
Store package.
|
net.sf.ehcache.terracotta |
This package contains the Terracotta integration functionalities.
|
Modifier and Type | Method and Description |
---|---|
BootstrapCacheLoader |
Ehcache.getBootstrapCacheLoader()
Accessor for the BootstrapCacheLoader associated with this cache.
|
BootstrapCacheLoader |
Cache.getBootstrapCacheLoader()
Accessor for the BootstrapCacheLoader associated with this cache.
|
Modifier and Type | Method and Description |
---|---|
void |
Ehcache.setBootstrapCacheLoader(BootstrapCacheLoader bootstrapCacheLoader)
Sets the bootstrap cache loader.
|
void |
Cache.setBootstrapCacheLoader(BootstrapCacheLoader bootstrapCacheLoader)
Sets the bootstrap cache loader.
|
Constructor and Description |
---|
Cache(CacheConfiguration cacheConfiguration,
RegisteredEventListeners registeredEventListeners,
BootstrapCacheLoader bootstrapCacheLoader)
2.0 and higher Constructor
The
ConfigurationFactory
and clients can create these. |
Cache(String name,
int maxElementsInMemory,
MemoryStoreEvictionPolicy memoryStoreEvictionPolicy,
boolean overflowToDisk,
String diskStorePath,
boolean eternal,
long timeToLiveSeconds,
long timeToIdleSeconds,
boolean diskPersistent,
long diskExpiryThreadIntervalSeconds,
RegisteredEventListeners registeredEventListeners,
BootstrapCacheLoader bootstrapCacheLoader)
1.2.1 Constructor
The
ConfigurationFactory and clients can create these. |
Cache(String name,
int maxElementsInMemory,
MemoryStoreEvictionPolicy memoryStoreEvictionPolicy,
boolean overflowToDisk,
String diskStorePath,
boolean eternal,
long timeToLiveSeconds,
long timeToIdleSeconds,
boolean diskPersistent,
long diskExpiryThreadIntervalSeconds,
RegisteredEventListeners registeredEventListeners,
BootstrapCacheLoader bootstrapCacheLoader,
int maxElementsOnDisk)
1.2.4 Constructor
The
ConfigurationFactory and clients can create these. |
Cache(String name,
int maxElementsInMemory,
MemoryStoreEvictionPolicy memoryStoreEvictionPolicy,
boolean overflowToDisk,
String diskStorePath,
boolean eternal,
long timeToLiveSeconds,
long timeToIdleSeconds,
boolean diskPersistent,
long diskExpiryThreadIntervalSeconds,
RegisteredEventListeners registeredEventListeners,
BootstrapCacheLoader bootstrapCacheLoader,
int maxElementsOnDisk,
int diskSpoolBufferSizeMB)
1.3 Constructor
The
ConfigurationFactory and clients can create these. |
Cache(String name,
int maxElementsInMemory,
MemoryStoreEvictionPolicy memoryStoreEvictionPolicy,
boolean overflowToDisk,
String diskStorePath,
boolean eternal,
long timeToLiveSeconds,
long timeToIdleSeconds,
boolean diskPersistent,
long diskExpiryThreadIntervalSeconds,
RegisteredEventListeners registeredEventListeners,
BootstrapCacheLoader bootstrapCacheLoader,
int maxElementsOnDisk,
int diskSpoolBufferSizeMB,
boolean clearOnFlush)
1.6.0 Constructor
The
ConfigurationFactory and clients can create these. |
Cache(String name,
int maxElementsInMemory,
MemoryStoreEvictionPolicy memoryStoreEvictionPolicy,
boolean overflowToDisk,
String diskStorePath,
boolean eternal,
long timeToLiveSeconds,
long timeToIdleSeconds,
boolean diskPersistent,
long diskExpiryThreadIntervalSeconds,
RegisteredEventListeners registeredEventListeners,
BootstrapCacheLoader bootstrapCacheLoader,
int maxElementsOnDisk,
int diskSpoolBufferSizeMB,
boolean clearOnFlush,
boolean isTerracottaClustered,
String terracottaValueMode,
boolean terracottaCoherentReads)
1.7.0 Constructor
The
ConfigurationFactory and clients can create these. |
Modifier and Type | Class and Description |
---|---|
class |
BootstrapCacheLoaderFactory<T extends BootstrapCacheLoader>
An abstract factory for creating BootstrapCacheLoader instances.
|
Modifier and Type | Method and Description |
---|---|
BootstrapCacheLoader |
EhcacheDecoratorAdapter.getBootstrapCacheLoader()
Accessor for the BootstrapCacheLoader associated with this cache.
|
Modifier and Type | Method and Description |
---|---|
void |
EhcacheDecoratorAdapter.setBootstrapCacheLoader(BootstrapCacheLoader bootstrapCacheLoader)
Sets the bootstrap cache loader.
|
Modifier and Type | Method and Description |
---|---|
BootstrapCacheLoader |
ClassLoaderAwareCache.getBootstrapCacheLoader()
Accessor for the BootstrapCacheLoader associated with this cache.
|
Modifier and Type | Method and Description |
---|---|
void |
ClassLoaderAwareCache.setBootstrapCacheLoader(BootstrapCacheLoader arg0)
Sets the bootstrap cache loader.
|
Modifier and Type | Class and Description |
---|---|
class |
RMIBootstrapCacheLoader
Loads Elements from a random Cache Peer
|
Modifier and Type | Class and Description |
---|---|
class |
DiskStoreBootstrapCacheLoader |
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)
|
Modifier and Type | Class and Description |
---|---|
class |
TerracottaBootstrapCacheLoader
A
BootstrapCacheLoader that will load Elements into a Terracotta clustered cache, based on a previously
snapshotted key set. |
Copyright © 2003-2013 Terracotta, Inc.. All Rights Reserved.