Package | Description |
---|---|
com.hazelcast.cache.impl.eviction |
Eviction policy implementations for cache.
|
com.hazelcast.cache.impl.eviction.impl.evaluator |
EvictionPolicyEvaluator implementations for cache. |
com.hazelcast.cache.impl.eviction.impl.strategy |
EvictionStrategy implementations for cache. |
com.hazelcast.cache.impl.eviction.impl.strategy.sampling |
Sampling based
EvictionStrategy implementations for cache. |
com.hazelcast.cache.impl.nearcache |
Near cache support.
|
com.hazelcast.cache.impl.nearcache.impl.record |
Near cache record implementations.
|
com.hazelcast.cache.impl.nearcache.impl.store |
Near cache store implementations.
|
com.hazelcast.cache.impl.record |
Hazelcast JSR-107 aka JCache implementation
Internal record store
|
Modifier and Type | Interface and Description |
---|---|
interface |
EvictableStore<A,E extends Evictable>
Interface for store implementations that holds
Evictable entries to evict. |
interface |
EvictionCandidate<A,E extends Evictable>
Interface for entries, records or whatever that can be evictable via its accessor (key or id).
|
interface |
EvictionListener<A,E extends Evictable>
Interface for entries, records or whatever that can be evicted via its accessor (key or id).
|
interface |
EvictionPolicyEvaluator<A,E extends Evictable>
Interface for evaluation implementations of
EvictionPolicy . |
interface |
EvictionStrategy<A,E extends Evictable,S extends EvictableStore<A,E>>
Interface for eviction implementations to evict
EvictableStore implementations as specified
EvictionPolicyEvaluator . |
Modifier and Type | Class and Description |
---|---|
class |
AbstractEvictionPolicyEvaluator<A,E extends Evictable>
Base class for evaluation implementations of
EvictionPolicy . |
class |
LFUEvictionPolicyEvaluator<A,E extends Evictable>
Interface for evaluation implementations of
EvictionPolicy.LFU policy. |
class |
LRUEvictionPolicyEvaluator<A,E extends Evictable>
Interface for evaluation implementations of
EvictionPolicy.LRU policy. |
Modifier and Type | Method and Description |
---|---|
protected abstract Evictable |
AbstractEvictionPolicyEvaluator.selectEvictableAsPolicy(Evictable current,
Evictable candidate)
Compares two evictable candidates and selects one as
EvictionPolicy rule. |
protected Evictable |
LRUEvictionPolicyEvaluator.selectEvictableAsPolicy(Evictable current,
Evictable candidate) |
protected Evictable |
LFUEvictionPolicyEvaluator.selectEvictableAsPolicy(Evictable current,
Evictable candidate) |
Modifier and Type | Method and Description |
---|---|
protected abstract Evictable |
AbstractEvictionPolicyEvaluator.selectEvictableAsPolicy(Evictable current,
Evictable candidate)
Compares two evictable candidates and selects one as
EvictionPolicy rule. |
protected Evictable |
LRUEvictionPolicyEvaluator.selectEvictableAsPolicy(Evictable current,
Evictable candidate) |
protected Evictable |
LFUEvictionPolicyEvaluator.selectEvictableAsPolicy(Evictable current,
Evictable candidate) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractEvictionStrategy<A,E extends Evictable,S extends EvictableStore<A,E>>
Base class for eviction implementations to evict
EvictableStore implementations as specified
EvictionPolicyEvaluator . |
Modifier and Type | Interface and Description |
---|---|
interface |
SampleableEvictableStore<A,E extends Evictable>
Interface for sampleable store implementations that holds
Evictable entries to evict. |
class |
SamplingBasedEvictionStrategy<A,E extends Evictable,S extends SampleableEvictableStore<A,E>>
Sampling based
EvictionStrategy implementation. |
Modifier and Type | Interface and Description |
---|---|
interface |
NearCacheRecord<V>
An expirable and evictable data object which represents a near cache entry.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractNearCacheRecord<V>
Abstract implementation of
NearCacheRecord with value and
expiration time as internal state. |
class |
NearCacheDataRecord
Implementation of
NearCacheRecord to store
Data type objects. |
class |
NearCacheObjectRecord<V>
Implementation of
NearCacheRecord to store
any object type without Data type. |
Modifier and Type | Method and Description |
---|---|
Evictable |
HeapNearCacheRecordMap.EvictableSamplingEntry.getEvictable() |
Modifier and Type | Interface and Description |
---|---|
interface |
CacheRecord<V>
An expirable and evictable data object which represents a cache entry.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractCacheRecord<V>
Abstract implementation of
CacheRecord with key, value and
expiration time as internal state. |
class |
CacheDataRecord
Implementation of
CacheRecord where value has an internal serialized format. |
class |
CacheObjectRecord
Implementation of
CacheRecord which has an internal object format. |
Modifier and Type | Method and Description |
---|---|
Evictable |
CacheRecordHashMap.EvictableSamplingEntry.getEvictable() |
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.