V
- value typepublic interface PersistentStore<V> extends Store<V>
Modifier and Type | Method and Description |
---|---|
boolean |
contains(String key)
Checks if lookup key is present in store.
|
V |
get(String key)
Returns the value for the given key if exists, null otherwise.
|
Iterator<Map.Entry<String,V>> |
getAll()
Returns an iterator of entries.
|
void |
put(String key,
V value)
Stores the (key, value) tuple in the store.
|
delete, getMode, getRange, putIfAbsent
close
boolean contains(String key)
key
- lookup keyV get(String key)
key
- lookup keyvoid put(String key, V value)
mode
.key
- lookup keyvalue
- value to storeCopyright © 1970 The Apache Software Foundation. All rights reserved.