public interface LongKeyValueStore<V> extends AdvancedKeyValueSource<Long,V>, LongKeyValueSource<V>
KeyValueStore for long keys.| Modifier and Type | Method and Description |
|---|---|
void |
put(long key,
V value)
Insert or update a value associated with the given key.
|
void |
remove(long key)
Remove a value from the cache that is associated with the key.
|
getAll, prefetch, prefetchAllgetgetvoid put(long key,
V value)
key - key with which the specified value is associatedvalue - value to be associated with the specified keyCache.put(Object, Object)void remove(long key)
key - key which mapping is to be removed from the cache, not nullKeyValueStore.remove(Object),
Cache.remove(K)cache2k API documentation. Copyright © 2000–2019 headissue GmbH, Munich.