Class GlobalStorageConfigurationBuilder
java.lang.Object
org.infinispan.configuration.global.AbstractGlobalConfigurationBuilder
org.infinispan.configuration.global.GlobalStorageConfigurationBuilder
- All Implemented Interfaces:
Builder<GlobalStorageConfiguration>
,GlobalConfigurationChildBuilder
public class GlobalStorageConfigurationBuilder
extends AbstractGlobalConfigurationBuilder
implements Builder<GlobalStorageConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionconfigurationStorage
(ConfigurationStorage configurationStorage) create()
Create the configuration beanread
(GlobalStorageConfiguration template, Combine combine) Reads the configuration from an already created configuration bean into this builder.supplier
(Supplier<? extends LocalConfigurationStorage> configurationStorageSupplier) void
validate()
Validate the data in this builder before building the configuration beanMethods inherited from class org.infinispan.configuration.global.AbstractGlobalConfigurationBuilder
addModule, asyncThreadPool, blockingThreadPool, build, clearModules, defaultCacheName, expirationThreadPool, getGlobalConfig, globalState, jmx, listenerThreadPool, metrics, module, modules, nonBlockingThreadPool, persistenceThreadPool, security, serialization, shutdown, site, tracing, transport
-
Method Details
-
attributes
- Specified by:
attributes
in interfaceBuilder<GlobalStorageConfiguration>
-
supplier
public GlobalStorageConfigurationBuilder supplier(Supplier<? extends LocalConfigurationStorage> configurationStorageSupplier) -
configurationStorage
public GlobalStorageConfigurationBuilder configurationStorage(ConfigurationStorage configurationStorage) -
validate
public void validate()Description copied from interface:Builder
Validate the data in this builder before building the configuration bean- Specified by:
validate
in interfaceBuilder<GlobalStorageConfiguration>
-
create
Description copied from interface:Builder
Create the configuration bean- Specified by:
create
in interfaceBuilder<GlobalStorageConfiguration>
- Returns:
-
read
Description copied from interface:Builder
Reads the configuration from an already created configuration bean into this builder. Returns an appropriate builder to allow fluent configuration- Specified by:
read
in interfaceBuilder<GlobalStorageConfiguration>
- Parameters:
template
- the configuration from which to "clone" this config if needed.combine
- the way attributes and children of this instance and the template should be combined.
-