StoreBuilder<T> withLoggingEnabled(Map<String, String> config)
AbstractStoreBuilder — Fluent API for State Store Builders
AbstractStoreBuilder is the base implementation of the StoreBuilder contract for state store builders that offer a fluent API to build state stores.
| 
 Note 
 | 
AbstractStoreBuilder is a Java abstract class and cannot be created directly. It is created indirectly for the concrete AbstractStoreBuilders.
 | 
| AbstractStoreBuilder | Description | 
|---|---|
Builds KeyValueStores  | 
|
Builds SessionStores  | 
|
Builds WindowStores  | 
Creating AbstractStoreBuilder Instance
AbstractStoreBuilder takes the following to be created:
AbstractStoreBuilder initializes the internal properties.
| 
 Note 
 | 
AbstractStoreBuilder is a Java abstract class and cannot be created directly. It is created indirectly for the concrete AbstractStoreBuilders.
 | 
 withLoggingEnabled Method
| 
 Note 
 | 
withLoggingEnabled is part of the StoreBuilder Contract to enable change-logging on state stores.
 | 
withLoggingEnabled simply turns the enableLogging flag on (true) and the logConfig to the given config (Map<String, String>).
 withLoggingDisabled Method
StoreBuilder<T> withLoggingDisabled()
| 
 Note 
 | 
withLoggingDisabled is part of the StoreBuilder Contract to disable change-logging on state stores.
 | 
withLoggingDisabled simply turns the enableLogging flag off (false) and clears the logConfig.
 withCachingEnabled Method
StoreBuilder<T> withCachingEnabled()
| 
 Note 
 | 
withCachingEnabled is part of the StoreBuilder Contract to enable caching on state stores.
 | 
withCachingEnabled simply turns the enableCaching flag on (true).
 withCachingDisabled Method
StoreBuilder<T> withCachingDisabled()
| 
 Note 
 | 
withCachingDisabled is part of the StoreBuilder Contract to disable caching on state stores.
 | 
withCachingDisabled simply turns the enableCaching flag off (false).
Internal Properties
| Name | Description | 
|---|---|
  | 
 Flag to control whether to enable caching (  | 
  | 
 Flag to control whether to enable logging ( Default:   | 
  |