ehcache

Uses of Class
net.sf.ehcache.store.MemoryStoreEvictionPolicy

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.store Store package. 
 

Uses of MemoryStoreEvictionPolicy in net.sf.ehcache
 

Constructors in net.sf.ehcache with parameters of type MemoryStoreEvictionPolicy
Cache(String name, int maxElementsInMemory, MemoryStoreEvictionPolicy memoryStoreEvictionPolicy, boolean overflowToDisk, 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(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, boolean terracottaCoherentReads)
          1.7.0 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
static MemoryStoreEvictionPolicy CacheConfiguration.DEFAULT_MEMORY_STORE_EVICTION_POLICY
          The default memory store eviction policy is LRU.
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
 CacheConfiguration CacheConfiguration.memoryStoreEvictionPolicy(MemoryStoreEvictionPolicy memoryStoreEvictionPolicy)
          Builder which Sets the eviction policy.
 void CacheConfiguration.setMemoryStoreEvictionPolicyFromObject(MemoryStoreEvictionPolicy memoryStoreEvictionPolicy)
          Sets the eviction policy.
 

Uses of MemoryStoreEvictionPolicy in net.sf.ehcache.store
 

Fields in net.sf.ehcache.store declared as MemoryStoreEvictionPolicy
static MemoryStoreEvictionPolicy MemoryStoreEvictionPolicy.CLOCK
          FIFO - first in first out, the oldest element by creation time.
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(String policy)
          Converts a string representation of the policy into a policy.
 


ehcache

Copyright 2001-2017, Terracotta, Inc.