Class TopologyCacheConfigurationBuilder
- java.lang.Object
-
- org.infinispan.server.hotrod.configuration.TopologyCacheConfigurationBuilder
-
- All Implemented Interfaces:
Builder<TopologyCacheConfiguration>
public class TopologyCacheConfigurationBuilder extends Object implements Builder<TopologyCacheConfiguration>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TopologyCacheConfigurationBuilder
awaitInitialTransfer(boolean await)
TopologyCacheConfiguration
create()
Create the configuration beanTopologyCacheConfigurationBuilder
lazyRetrieval(boolean lazy)
TopologyCacheConfigurationBuilder
lockTimeout(long value)
TopologyCacheConfigurationBuilder
read(TopologyCacheConfiguration template)
Reads the configuration from an already created configuration bean into this builder.TopologyCacheConfigurationBuilder
replicationTimeout(long value)
void
validate()
Validate the data in this builder before building the configuration bean
-
-
-
Method Detail
-
lockTimeout
public TopologyCacheConfigurationBuilder lockTimeout(long value)
-
replicationTimeout
public TopologyCacheConfigurationBuilder replicationTimeout(long value)
-
awaitInitialTransfer
public TopologyCacheConfigurationBuilder awaitInitialTransfer(boolean await)
-
lazyRetrieval
public TopologyCacheConfigurationBuilder lazyRetrieval(boolean lazy)
-
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<TopologyCacheConfiguration>
-
create
public TopologyCacheConfiguration create()
Description copied from interface:Builder
Create the configuration bean- Specified by:
create
in interfaceBuilder<TopologyCacheConfiguration>
- Returns:
-
read
public TopologyCacheConfigurationBuilder read(TopologyCacheConfiguration template)
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<TopologyCacheConfiguration>
- Parameters:
template
- the configuration from which to "clone" this config if needed.
-
-