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
networkPrefixOverride(boolean networkPrefixOverride)
TopologyCacheConfigurationBuilder
read(TopologyCacheConfiguration template)
Reads the configuration from an already created configuration bean into this builder.TopologyCacheConfigurationBuilder
replicationTimeout(long value)
-
-
-
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)
-
networkPrefixOverride
public TopologyCacheConfigurationBuilder networkPrefixOverride(boolean networkPrefixOverride)
-
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.
-
-