K
- the key type for this QueryCache
V
- the value type for this QueryCache
public interface InternalQueryCache<K,V> extends QueryCache<K,V>
QueryCache
interface.Modifier and Type | Method and Description |
---|---|
void |
clear() |
void |
delete(Object key,
EntryEventType eventType) |
String |
getCacheId() |
IMap<K,V> |
getDelegate() |
Extractors |
getExtractors() |
Indexes |
getIndexes() |
String |
getPublisherListenerId() |
void |
prepopulate(K key,
V value)
Used during initial population of query cache.
|
boolean |
reachedMaxCapacity()
Used to quit pre-population when max size is reached.
|
void |
recreate()
Recreates this query cache.
|
int |
removeEntriesOf(int partitionId)
Scans all entries in this
QueryCache to remove matching ones
with supplied partitionId |
void |
set(K key,
V value,
EntryEventType eventType) |
void |
setPublisherListenerId(String publisherListenerId) |
addEntryListener, addEntryListener, addEntryListener, addEntryListener, addIndex, containsKey, containsValue, destroy, entrySet, entrySet, get, getAll, getName, isEmpty, keySet, keySet, removeEntryListener, size, tryRecover, values, values
void set(K key, V value, EntryEventType eventType)
void prepopulate(K key, V value)
void delete(Object key, EntryEventType eventType)
int removeEntriesOf(int partitionId)
QueryCache
to remove matching ones
with supplied partitionId
Indexes getIndexes()
void clear()
void setPublisherListenerId(String publisherListenerId)
String getPublisherListenerId()
String getCacheId()
boolean reachedMaxCapacity()
true
if this query cache is at its max capacity,
otherwise return false
QueryCacheConfig.isPopulate()
Extractors getExtractors()
void recreate()
Copyright © 2020 Hazelcast, Inc.. All Rights Reserved.