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() |
UUID |
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(UUID publisherListenerId) |
addEntryListener, addEntryListener, addEntryListener, addEntryListener, addIndex, 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
void clear()
UUID getPublisherListenerId()
void setPublisherListenerId(UUID publisherListenerId)
String getCacheId()
boolean reachedMaxCapacity()
true
if this query cache is at
its max capacity, otherwise return false
QueryCacheConfig.isPopulate()
Extractors getExtractors()
void recreate()
Copyright © 2019 Hazelcast, Inc.. All rights reserved.