io.fluxcapacitor.javaclient.keyvalue.KeyValueStore Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-client Show documentation
Show all versions of java-client Show documentation
Default Java client library for interfacing with Flux Capacitor.
package io.fluxcapacitor.javaclient.keyvalue;
import io.fluxcapacitor.common.Guarantee;
public interface KeyValueStore {
default void store(String key, Object value) {
store(key, value, Guarantee.SENT);
}
void store(String key, Object value, Guarantee guarantee);
R get(String key);
void delete(String key);
}