K
- key type of cache (must be immutable)V
- value type of cache (should, for monitoring, typically, be of "similar" size for all keys)E
- exception type cache can throwpublic interface CheckedCache<K,V,E extends Exception> extends BaseCache<K,V>
See Cache
for caches who's cache function never throw checked exceptions (i.e. only unchecked ones).
Cache also has more general documentation which applies to this API as well.
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.ImmutableMap<K,V> |
get(Iterable<? extends K> keys) |
default com.google.common.collect.ImmutableMap<K,V> |
get(K... keys) |
V |
get(K key)
Get cache entry.
|
evict, getManager, put
close
Copyright © 2019 OpenDaylight. All rights reserved.