K
- type of the key of CacheRecord
to be storedV
- type of the value of CacheRecord
to be storedpublic interface CacheRecordMap<K extends Data,V extends CacheRecord> extends Map<K,V>, EvictableStore<K,V>
CacheRecord
s.Modifier and Type | Method and Description |
---|---|
CacheEntryIterationResult |
fetchEntries(int nextTableIndex,
int size)
Fetches entries in bulk as specified size at most.
|
CacheKeyIterationResult |
fetchKeys(int nextTableIndex,
int size)
Fetches keys in bulk as specified size at most.
|
void |
setEntryCounting(boolean enable)
Sets the entry counting behaviour.
|
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
tryEvict
void setEntryCounting(boolean enable)
enable
- enables the entry counting behaviour if it is true, otherwise disables.CacheKeyIterationResult fetchKeys(int nextTableIndex, int size)
nextTableIndex
- starting point for fetchingsize
- maximum bulk size to fetch the keysCacheKeyIterationResult
instance contains fetched keysCacheEntryIterationResult fetchEntries(int nextTableIndex, int size)
nextTableIndex
- starting point for fetchingsize
- maximum bulk size to fetch the entriesCacheEntryIterationResult
instance contains fetched keysCopyright © 2021 Hazelcast, Inc.. All Rights Reserved.