Skip to content

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:

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)

Implementations

Back to top