Class DefaultKeyValueStore
- java.lang.Object
-
- io.fluxcapacitor.javaclient.persisting.keyvalue.DefaultKeyValueStore
-
- All Implemented Interfaces:
KeyValueStore
public class DefaultKeyValueStore extends Object implements KeyValueStore
-
-
Constructor Summary
Constructors Constructor Description DefaultKeyValueStore()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete(String key)<R> Rget(String key)voidstore(String key, Object value, Guarantee guarantee)booleanstoreIfAbsent(String key, Object value)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.fluxcapacitor.javaclient.persisting.keyvalue.KeyValueStore
store
-
-
-
-
Method Detail
-
store
public void store(String key, Object value, Guarantee guarantee)
- Specified by:
storein interfaceKeyValueStore
-
storeIfAbsent
public boolean storeIfAbsent(String key, Object value)
- Specified by:
storeIfAbsentin interfaceKeyValueStore
-
get
public <R> R get(String key)
- Specified by:
getin interfaceKeyValueStore
-
delete
public void delete(String key)
- Specified by:
deletein interfaceKeyValueStore
-
-