public class CacheRecordHashMap<K,V> extends FetchableConcurrentHashMap<K,V> implements CacheRecordMap<K,V>
ConcurrentReferenceHashMap.Option, ConcurrentReferenceHashMap.ReferenceTypeAbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
CacheRecordHashMap(int initialCapacity) |
CacheRecordHashMap(int initialCapacity,
float loadFactor,
int concurrencyLevel,
ConcurrentReferenceHashMap.ReferenceType keyType,
ConcurrentReferenceHashMap.ReferenceType valueType,
EnumSet<ConcurrentReferenceHashMap.Option> options) |
CacheRecordHashMap(int initialCapacity,
float loadFactor,
int concurrencyLevel,
ConcurrentReferenceHashMap.ReferenceType keyType,
ConcurrentReferenceHashMap.ReferenceType valueType,
EnumSet<ConcurrentReferenceHashMap.Option> options,
Callback<Data> evictionCallback) |
| Modifier and Type | Method and Description |
|---|---|
int |
evictExpiredRecords(int percentage) |
int |
evictRecords(int percentage,
EvictionPolicy policy) |
CacheKeyIteratorResult |
fetchNext(int nextTableIndex,
int size) |
fetchclear, contains, containsKey, containsValue, elements, entrySet, get, isEmpty, keys, keySet, purgeStaleEntries, put, putAll, putIfAbsent, remove, remove, replace, replace, size, valuesclone, equals, hashCode, toStringpublic CacheRecordHashMap(int initialCapacity)
public CacheRecordHashMap(int initialCapacity,
float loadFactor,
int concurrencyLevel,
ConcurrentReferenceHashMap.ReferenceType keyType,
ConcurrentReferenceHashMap.ReferenceType valueType,
EnumSet<ConcurrentReferenceHashMap.Option> options)
public CacheRecordHashMap(int initialCapacity,
float loadFactor,
int concurrencyLevel,
ConcurrentReferenceHashMap.ReferenceType keyType,
ConcurrentReferenceHashMap.ReferenceType valueType,
EnumSet<ConcurrentReferenceHashMap.Option> options,
Callback<Data> evictionCallback)
public CacheKeyIteratorResult fetchNext(int nextTableIndex, int size)
fetchNext in interface CacheRecordMap<K,V>public int evictExpiredRecords(int percentage)
evictExpiredRecords in interface CacheRecordMap<K,V>public int evictRecords(int percentage,
EvictionPolicy policy)
evictRecords in interface CacheRecordMap<K,V>Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.