Maven dependency:
<dependency>
<groupId>se.gawell.ktvstore</groupId>
<artifactId>kvtstore-core</artifactId>
<version>0.1.0</version>
</dependency>
Java example
class Example {
private final KeyTimeValueStore<String> keyTimeValueStore;
public Object get(String key) {
return keyTimeValueStore.get(key, Object.class);
}
public void put(Object object, String key) {
keyTimeValueStore.put(key, object);
}
}
For setting up a ket time value store, see [Riak] for Riak implementation, [MySQL] for MySQL implementation, or [In memory] for in memory dito.
Spring users might want to check out [Spring integration].
Wiki: Home
Wiki: In memory
Wiki: MySQL
Wiki: Riak
Wiki: Spring integration