K
- the type of keysV
- the type of values@Deprecated
public static interface Stores.InMemoryKeyValueFactory<K,V>
Modifier and Type | Method | Description |
---|---|---|
StateStoreSupplier |
build() |
Deprecated.
Return the instance of StateStoreSupplier of new key-value store.
|
Stores.InMemoryKeyValueFactory<K,V> |
disableLogging() |
Deprecated.
Indicates that a changelog should not be created for the key-value store
|
Stores.InMemoryKeyValueFactory<K,V> |
enableLogging(java.util.Map<java.lang.String,java.lang.String> config) |
Deprecated.
Indicates that a changelog should be created for the store.
|
Stores.InMemoryKeyValueFactory<K,V> |
maxEntries(int capacity) |
Deprecated.
Limits the in-memory key-value store to hold a maximum number of entries.
|
Stores.InMemoryKeyValueFactory<K,V> maxEntries(int capacity)
Integer.MAX_VALUE
, which is
equivalent to not placing a limit on the number of entries.capacity
- the maximum capacity of the in-memory cache; should be one less than a power of 2java.lang.IllegalArgumentException
- if the capacity is not positiveStores.InMemoryKeyValueFactory<K,V> enableLogging(java.util.Map<java.lang.String,java.lang.String> config)
config
- any configs that should be applied to the changelogStores.InMemoryKeyValueFactory<K,V> disableLogging()
StateStoreSupplier build()