public interface AdvancedKeyValueSource<K,V> extends KeyValueSource<K,V>
KeyValueSource
with bulk get
and prefetching.Modifier and Type | Method and Description |
---|---|
Map<K,V> |
getAll(Iterable<? extends K> keys)
Retrieves all values for the given keys.
|
void |
prefetch(K key)
Notify the cache about the intention to retrieve the value for this key in the
near future.
|
void |
prefetchAll(Iterable<? extends K> keys,
CacheOperationCompletionListener listener)
Notify the cache about the intention to retrieve the value for the keys in the
near future.
|
get
Map<K,V> getAll(Iterable<? extends K> keys)
Cache.getAll(Iterable)
void prefetch(K key)
Cache.prefetch(Object)
void prefetchAll(Iterable<? extends K> keys, CacheOperationCompletionListener listener)
cache2k API documentation. Copyright © 2000–2020 headissue GmbH, Munich.