Package | Description |
---|---|
com.tangosol.coherence.config.builder |
Defines the typical runtime configuration builders for the Coherence
configuration object model.
|
com.tangosol.net.cache |
Contains classes providing various caching strategies.
|
com.tangosol.net.partition |
Contains interfaces and classes related to partitioned services.
|
Modifier and Type | Method and Description |
---|---|
ConfigurableCacheMap.EvictionPolicy |
EvictionPolicyBuilder.realize(com.tangosol.config.expression.ParameterResolver resolver,
ClassLoader loader,
ParameterList listParameters)
Realizes (creates if necessary) an instance of a object of type T, using the provided
ParameterResolver
to resolve values any referenced Parameter s. |
Modifier and Type | Interface and Description |
---|---|
static interface |
OldCache.EvictionPolicy
Deprecated.
An eviction policy is an object that the cache provides with access
information, and when requested, the eviction policy selects and
evicts entries from the cache.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractEvictionPolicy
An abstract base class for custom cache eviction policies.
|
static class |
OldCache.InternalEvictionPolicy
Deprecated.
The InternalEvictionPolicy represents a pluggable eviction policy for
the non-pluggable built-in (internal) eviction policies supported by
this cache implementation.
|
static class |
SerializationCache.InternalEvictionPolicy
The InternalEvictionPolicy represents a pluggable eviction policy for
the non-pluggable built-in (internal) eviction policies supported by
this cache implementation.
|
Modifier and Type | Field and Description |
---|---|
protected ConfigurableCacheMap.EvictionPolicy |
OldCache.m_policy
Deprecated.
The eviction policy; for eviction type EVICTION_POLICY_EXTERNAL.
|
Modifier and Type | Method and Description |
---|---|
ConfigurableCacheMap.EvictionPolicy |
OldCache.getEvictionPolicy()
Deprecated.
Obtain the current EvictionPolicy used by the cache.
|
ConfigurableCacheMap.EvictionPolicy |
ConfigurableCacheMap.getEvictionPolicy()
Obtain the current EvictionPolicy used by the cache.
|
ConfigurableCacheMap.EvictionPolicy |
SerializationCache.getEvictionPolicy()
Obtain the current EvictionPolicy used by the cache.
|
Modifier and Type | Method and Description |
---|---|
protected void |
OldCache.configureEviction(int nType,
ConfigurableCacheMap.EvictionPolicy policy)
Deprecated.
Configure the eviction type and policy.
|
void |
OldCache.setEvictionPolicy(ConfigurableCacheMap.EvictionPolicy policy)
Deprecated.
Set the EvictionPolicy for the cache to use.
|
void |
ConfigurableCacheMap.setEvictionPolicy(ConfigurableCacheMap.EvictionPolicy policy)
Set the EvictionPolicy for the cache to use.
|
void |
SerializationCache.setEvictionPolicy(ConfigurableCacheMap.EvictionPolicy policy)
Set the EvictionPolicy for the cache to use.
|
Modifier and Type | Field and Description |
---|---|
protected ConfigurableCacheMap.EvictionPolicy |
ObservableSplittingBackingCache.m_policy
The eviction policy.
|
Modifier and Type | Method and Description |
---|---|
ConfigurableCacheMap.EvictionPolicy |
ObservableSplittingBackingCache.getEvictionPolicy()
Obtain the current EvictionPolicy used by the cache.
|
Modifier and Type | Method and Description |
---|---|
void |
ObservableSplittingBackingCache.setEvictionPolicy(ConfigurableCacheMap.EvictionPolicy policy)
Set the EvictionPolicy for the cache to use.
|