K
- the type of keysV
- the type of values@Deprecated
public static interface Stores.PersistentKeyValueFactory<K,V>
Modifier and Type | Method and Description |
---|---|
StateStoreSupplier |
build()
Deprecated.
Return the instance of StateStoreSupplier of new key-value store.
|
Stores.PersistentKeyValueFactory<K,V> |
disableLogging()
Deprecated.
Indicates that a changelog should not be created for the key-value store
|
Stores.PersistentKeyValueFactory<K,V> |
enableCaching()
Deprecated.
Caching should be enabled on the created store.
|
Stores.PersistentKeyValueFactory<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.PersistentKeyValueFactory<K,V> |
sessionWindowed(long retentionPeriod)
Deprecated.
Set the persistent store as a
SessionStore for use with SessionWindows |
Stores.PersistentKeyValueFactory<K,V> |
windowed(long windowSize,
long retentionPeriod,
int numSegments,
boolean retainDuplicates)
Deprecated.
Set the persistent store as a windowed key-value store
|
Stores.PersistentKeyValueFactory<K,V> windowed(long windowSize, long retentionPeriod, int numSegments, boolean retainDuplicates)
windowSize
- size of the windowsretentionPeriod
- the maximum period of time in milli-second to keep each window in this storenumSegments
- the maximum number of segments for rolling the windowed storeretainDuplicates
- whether or not to retain duplicate data within the windowStores.PersistentKeyValueFactory<K,V> sessionWindowed(long retentionPeriod)
SessionStore
for use with SessionWindows
retentionPeriod
- period of time in milliseconds to keep each window in this storeStores.PersistentKeyValueFactory<K,V> enableLogging(java.util.Map<java.lang.String,java.lang.String> config)
config
- any configs that should be applied to the changelogStores.PersistentKeyValueFactory<K,V> disableLogging()
Stores.PersistentKeyValueFactory<K,V> enableCaching()
StateStoreSupplier build()