StoreBuilder¶
StoreBuilder
is an abstraction of builders of StateStores (with optional caching and logging).
StoreBuilder<T extends StateStore>
Contract¶
Building StateStore¶
T build()
Used when:
InternalTopologyBuilder
is requested to rewriteTopology (and build global state stores)StateStoreFactory
is requested to build a StateStore
logConfig¶
Map<String, String> logConfig()
loggingEnabled¶
boolean loggingEnabled()
name¶
String name()
withCachingDisabled¶
StoreBuilder<T> withCachingDisabled()
withCachingEnabled¶
StoreBuilder<T> withCachingEnabled()
withLoggingDisabled¶
StoreBuilder<T> withLoggingDisabled()
withLoggingEnabled¶
StoreBuilder<T> withLoggingEnabled(
Map<String, String> config)