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)
Deprecated.
will be removed in 2.0, see
Github issue
|
void |
prefetchAll(Iterable<? extends K> keys,
CacheOperationCompletionListener listener)
Deprecated.
will be removed in 2.0, see
Github issue
|
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.