|
ehcache | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Policy | |
---|---|
net.sf.ehcache | This package contains the public API for using ehcache. |
net.sf.ehcache.store | Store package. |
net.sf.ehcache.store.cachingtier | Contains the caching tier implementations |
net.sf.ehcache.store.disk | This package contains the disk store. |
net.sf.ehcache.transaction | This package contains classes for controlling cache operations for transactional use. |
Uses of Policy in net.sf.ehcache |
---|
Methods in net.sf.ehcache that return Policy | |
---|---|
Policy |
Cache.getMemoryStoreEvictionPolicy()
|
Methods in net.sf.ehcache with parameters of type Policy | |
---|---|
void |
Cache.setMemoryStoreEvictionPolicy(Policy policy)
Sets the eviction policy strategy. |
Uses of Policy in net.sf.ehcache.store |
---|
Classes in net.sf.ehcache.store that implement Policy | |
---|---|
class |
AbstractPolicy
A base policy class |
class |
FifoPolicy
Contains common LFU policy code for use between the LfuMemoryStore and the DiskStore, which also uses an LfuPolicy for evictions. |
class |
LfuPolicy
Contains common LFU policy code for use between the LfuMemoryStore and the DiskStore, which also uses an LfuPolicy for evictions. |
class |
LruPolicy
Contains common LFU policy code for use between the LfuMemoryStore and the DiskStore, which also uses an LfuPolicy for evictions. |
Methods in net.sf.ehcache.store that return Policy | |
---|---|
Policy |
LruMemoryStore.getEvictionPolicy()
|
Policy |
CachingTier.getEvictionPolicy()
Deprecated. |
Policy |
Store.getInMemoryEvictionPolicy()
|
Policy |
MemoryStore.getInMemoryEvictionPolicy()
|
Policy |
LruMemoryStore.getInMemoryEvictionPolicy()
|
Policy |
LegacyStoreWrapper.getInMemoryEvictionPolicy()
|
Policy |
ElementIdAssigningStore.getInMemoryEvictionPolicy()
|
Policy |
CacheStore.getInMemoryEvictionPolicy()
|
Methods in net.sf.ehcache.store with parameters of type Policy | |
---|---|
void |
LruMemoryStore.setEvictionPolicy(Policy policy)
Sets the eviction policy strategy. |
void |
CachingTier.setEvictionPolicy(Policy policy)
Deprecated. |
void |
Store.setInMemoryEvictionPolicy(Policy policy)
Sets the eviction policy strategy. |
void |
MemoryStore.setInMemoryEvictionPolicy(Policy policy)
Sets the eviction policy strategy. |
void |
LruMemoryStore.setInMemoryEvictionPolicy(Policy policy)
Sets the eviction policy strategy. |
void |
LegacyStoreWrapper.setInMemoryEvictionPolicy(Policy policy)
Sets the eviction policy strategy. |
void |
ElementIdAssigningStore.setInMemoryEvictionPolicy(Policy policy)
Sets the eviction policy strategy. |
void |
CacheStore.setInMemoryEvictionPolicy(Policy policy)
|
Uses of Policy in net.sf.ehcache.store.cachingtier |
---|
Methods in net.sf.ehcache.store.cachingtier that return Policy | |
---|---|
Policy |
OnHeapCachingTier.getEvictionPolicy()
|
Policy |
PooledBasedBackEnd.getPolicy()
|
Policy |
HeapCacheBackEnd.getPolicy()
Deprecated. |
Policy |
CountBasedBackEnd.getPolicy()
|
Methods in net.sf.ehcache.store.cachingtier with parameters of type Policy | |
---|---|
void |
OnHeapCachingTier.setEvictionPolicy(Policy policy)
|
void |
PooledBasedBackEnd.setPolicy(Policy policy)
Dynamic property to switch the policy out |
void |
HeapCacheBackEnd.setPolicy(Policy policy)
Deprecated. |
void |
CountBasedBackEnd.setPolicy(Policy policy)
Dynamic property to switch the policy out |
Constructors in net.sf.ehcache.store.cachingtier with parameters of type Policy | |
---|---|
CountBasedBackEnd(long maxEntriesLocalHeap,
Policy policy)
Constructs a cap'ed backend |
|
PooledBasedBackEnd(Policy memoryEvictionPolicy)
Constructs a Pooled backend |
Uses of Policy in net.sf.ehcache.store.disk |
---|
Methods in net.sf.ehcache.store.disk that return Policy | |
---|---|
Policy |
DiskStore.getInMemoryEvictionPolicy()
|
Methods in net.sf.ehcache.store.disk with parameters of type Policy | |
---|---|
void |
DiskStore.setInMemoryEvictionPolicy(Policy policy)
Sets the eviction policy strategy. |
Uses of Policy in net.sf.ehcache.transaction |
---|
Methods in net.sf.ehcache.transaction that return Policy | |
---|---|
Policy |
AbstractTransactionStore.getInMemoryEvictionPolicy()
|
Methods in net.sf.ehcache.transaction with parameters of type Policy | |
---|---|
void |
AbstractTransactionStore.setInMemoryEvictionPolicy(Policy policy)
Sets the eviction policy strategy. |
|
ehcache | |||||||||
PREV NEXT | FRAMES NO FRAMES |