Package | Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
Policy |
Cache.getMemoryStoreEvictionPolicy() |
Modifier and Type | Method and Description |
---|---|
void |
Cache.setMemoryStoreEvictionPolicy(Policy policy)
Sets the eviction policy strategy.
|
Modifier and Type | Class and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
Policy |
LruMemoryStore.getEvictionPolicy() |
Policy |
CachingTier.getEvictionPolicy()
Deprecated.
|
Policy |
Store.getInMemoryEvictionPolicy() |
Policy |
MemoryStore.getInMemoryEvictionPolicy() |
Policy |
CacheStore.getInMemoryEvictionPolicy() |
Policy |
LruMemoryStore.getInMemoryEvictionPolicy() |
Policy |
ElementIdAssigningStore.getInMemoryEvictionPolicy() |
Policy |
LegacyStoreWrapper.getInMemoryEvictionPolicy() |
Modifier and Type | Method and Description |
---|---|
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 |
CacheStore.setInMemoryEvictionPolicy(Policy policy) |
void |
LruMemoryStore.setInMemoryEvictionPolicy(Policy policy)
Sets the eviction policy strategy.
|
void |
ElementIdAssigningStore.setInMemoryEvictionPolicy(Policy policy)
Sets the eviction policy strategy.
|
void |
LegacyStoreWrapper.setInMemoryEvictionPolicy(Policy policy)
Sets the eviction policy strategy.
|
Modifier and Type | Method and Description |
---|---|
Policy |
OnHeapCachingTier.getEvictionPolicy() |
Policy |
HeapCacheBackEnd.getPolicy()
Deprecated.
|
Policy |
PooledBasedBackEnd.getPolicy() |
Policy |
CountBasedBackEnd.getPolicy() |
Modifier and Type | Method and Description |
---|---|
void |
OnHeapCachingTier.setEvictionPolicy(Policy policy) |
void |
HeapCacheBackEnd.setPolicy(Policy policy)
Deprecated.
|
void |
PooledBasedBackEnd.setPolicy(Policy policy)
Dynamic property to switch the policy out
|
void |
CountBasedBackEnd.setPolicy(Policy policy)
Dynamic property to switch the policy out
|
Constructor and Description |
---|
CountBasedBackEnd(long maxEntriesLocalHeap,
Policy policy)
Constructs a cap'ed backend
|
PooledBasedBackEnd(Policy memoryEvictionPolicy)
Constructs a Pooled backend
|
Modifier and Type | Method and Description |
---|---|
Policy |
DiskStore.getInMemoryEvictionPolicy() |
Modifier and Type | Method and Description |
---|---|
void |
DiskStore.setInMemoryEvictionPolicy(Policy policy)
Sets the eviction policy strategy.
|
Modifier and Type | Method and Description |
---|---|
Policy |
AbstractTransactionStore.getInMemoryEvictionPolicy() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractTransactionStore.setInMemoryEvictionPolicy(Policy policy)
Sets the eviction policy strategy.
|
Copyright © 2003–2016 Terracotta, Inc.. All rights reserved.