public interface AdvancedKeyValueSource<K,V> extends KeyValueSource<K,V>
Modifier and Type | Method and Description |
---|---|
Map<K,V> |
getAll(Iterable<? extends K> keys)
Retrieves all objects via the key.
|
void |
prefetch(K key)
Notify about the intend to retrieve the value for this key in the
near future.
|
void |
prefetchAll(CacheOperationCompletionListener listener,
Iterable<? extends K> keys)
Notify about the intend 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(CacheOperationCompletionListener listener, Iterable<? extends K> keys)
cache2k API documentation. Copyright © 2000–2016 headissue GmbH, Munich.