|
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. |
| 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. |
| Fields in net.sf.ehcache.store declared as Policy | |
|---|---|
protected Policy |
MemoryStore.policy
The eviction policy to use |
| Methods in net.sf.ehcache.store that return Policy | |
|---|---|
Policy |
Store.getEvictionPolicy()
|
Policy |
MemoryStore.getEvictionPolicy()
|
Policy |
LruMemoryStore.getEvictionPolicy()
|
Policy |
DiskStore.getEvictionPolicy()
|
| Methods in net.sf.ehcache.store with parameters of type Policy | |
|---|---|
void |
Store.setEvictionPolicy(Policy policy)
Sets the eviction policy strategy. |
void |
MemoryStore.setEvictionPolicy(Policy policy)
Sets the policy. |
void |
LruMemoryStore.setEvictionPolicy(Policy policy)
Sets the eviction policy strategy. |
void |
DiskStore.setEvictionPolicy(Policy policy)
Sets the eviction policy strategy. |
|
ehcache | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||