T build()
StoreBuilder Contract — State Store Builders
StoreBuilder
is the abstraction of state store builders that can build a state store (with optional caching and logging).
Note
|
AbstractStoreBuilder is the one and only known base implementation of the StoreBuilder Contract. |
StoreBuilder
is used to add a local or global state store to a topology using the following APIs:
Method | Description |
---|---|
|
Builds (creates) a state store Used when:
|
|
|
|
Indicates whether change-logging should be enabled ( Used when:
|
|
Name of state stores to build (for identification purposes) |
|
Disables caching on state stores |
|
Enables caching on state stores |
|
Disables change-logging on state stores (i.e. a changelog for any changes made to the stores) |
|
Enables change-logging on state stores (i.e. a changelog for any changes made to the stores) |