public static interface Stores.KeyValueFactory<K,V>
Modifier and Type | Method and Description |
---|---|
Stores.InMemoryKeyValueFactory<K,V> |
inMemory()
Keep all key-value entries in-memory, although for durability all entries are recorded in a Kafka topic that can be
read to restore the entries if they are lost.
|
Stores.PersistentKeyValueFactory<K,V> |
persistent()
Keep all key-value entries off-heap in a local database, although for durability all entries are recorded in a Kafka
topic that can be read to restore the entries if they are lost.
|
Stores.InMemoryKeyValueFactory<K,V> inMemory()
Stores.PersistentKeyValueFactory<K,V> persistent()