|
ehcache | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use MemoryStoreEvictionPolicy | |
---|---|
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.constructs.blocking | Doug Lea in his book Concurrent Programming in Java talks about concurrency support constructs. |
net.sf.ehcache.store | Store package. |
Uses of MemoryStoreEvictionPolicy in net.sf.ehcache |
---|
Methods in net.sf.ehcache that return MemoryStoreEvictionPolicy | |
---|---|
MemoryStoreEvictionPolicy |
Ehcache.getMemoryStoreEvictionPolicy()
The policy used to evict elements from the MemoryStore . |
MemoryStoreEvictionPolicy |
Cache.getMemoryStoreEvictionPolicy()
Deprecated. Get this from the configuration |
Constructors in net.sf.ehcache with parameters of type MemoryStoreEvictionPolicy | |
---|---|
Cache(java.lang.String name,
int maxElementsInMemory,
MemoryStoreEvictionPolicy memoryStoreEvictionPolicy,
boolean overflowToDisk,
java.lang.String diskStorePath,
boolean eternal,
long timeToLiveSeconds,
long timeToIdleSeconds,
boolean diskPersistent,
long diskExpiryThreadIntervalSeconds,
RegisteredEventListeners registeredEventListeners)
1.2 Constructor The ConfigurationFactory and clients can create these. |
|
Cache(java.lang.String name,
int maxElementsInMemory,
MemoryStoreEvictionPolicy memoryStoreEvictionPolicy,
boolean overflowToDisk,
java.lang.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(java.lang.String name,
int maxElementsInMemory,
MemoryStoreEvictionPolicy memoryStoreEvictionPolicy,
boolean overflowToDisk,
java.lang.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(java.lang.String name,
int maxElementsInMemory,
MemoryStoreEvictionPolicy memoryStoreEvictionPolicy,
boolean overflowToDisk,
java.lang.String diskStorePath,
boolean eternal,
long timeToLiveSeconds,
long timeToIdleSeconds,
boolean diskPersistent,
long diskExpiryThreadIntervalSeconds,
RegisteredEventListeners registeredEventListeners,
BootstrapCacheLoader bootstrapCacheLoader,
int maxElementsOnDisk,
int diskSpoolBufferSizeMB)
1.2.4 Constructor The ConfigurationFactory and clients can create these. |
Uses of MemoryStoreEvictionPolicy in net.sf.ehcache.config |
---|
Fields in net.sf.ehcache.config declared as MemoryStoreEvictionPolicy | |
---|---|
protected MemoryStoreEvictionPolicy |
CacheConfiguration.memoryStoreEvictionPolicy
The policy used to evict elements from the MemoryStore . |
Methods in net.sf.ehcache.config that return MemoryStoreEvictionPolicy | |
---|---|
MemoryStoreEvictionPolicy |
CacheConfiguration.getMemoryStoreEvictionPolicy()
Accessor |
Methods in net.sf.ehcache.config with parameters of type MemoryStoreEvictionPolicy | |
---|---|
void |
CacheConfiguration.setMemoryStoreEvictionPolicyFromObject(MemoryStoreEvictionPolicy memoryStoreEvictionPolicy)
Sets the eviction policy. |
Uses of MemoryStoreEvictionPolicy in net.sf.ehcache.constructs.blocking |
---|
Methods in net.sf.ehcache.constructs.blocking that return MemoryStoreEvictionPolicy | |
---|---|
MemoryStoreEvictionPolicy |
BlockingCache.getMemoryStoreEvictionPolicy()
The policy used to evict elements from the MemoryStore . |
Uses of MemoryStoreEvictionPolicy in net.sf.ehcache.store |
---|
Fields in net.sf.ehcache.store declared as MemoryStoreEvictionPolicy | |
---|---|
static MemoryStoreEvictionPolicy |
MemoryStoreEvictionPolicy.FIFO
FIFO - first in first out, the oldest element by creation time. |
static MemoryStoreEvictionPolicy |
MemoryStoreEvictionPolicy.LFU
LFU - least frequently used. |
static MemoryStoreEvictionPolicy |
MemoryStoreEvictionPolicy.LRU
LRU - least recently used. |
Methods in net.sf.ehcache.store that return MemoryStoreEvictionPolicy | |
---|---|
static MemoryStoreEvictionPolicy |
MemoryStoreEvictionPolicy.fromString(java.lang.String policy)
Converts a string representation of the policy into a policy. |
|
ehcache | |||||||||
PREV NEXT | FRAMES NO FRAMES |