Class ClusterConfigurationBuilder
java.lang.Object
org.infinispan.client.hotrod.configuration.AbstractConfigurationChildBuilder
org.infinispan.client.hotrod.configuration.ClusterConfigurationBuilder
- All Implemented Interfaces:
ConfigurationChildBuilder,Builder<ClusterConfiguration>
public class ClusterConfigurationBuilder
extends AbstractConfigurationChildBuilder
implements Builder<ClusterConfiguration>
- Since:
- 8.1
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedClusterConfigurationBuilder(ConfigurationBuilder builder, String clusterName) -
Method Summary
Modifier and TypeMethodDescriptionaddClusterNode(String host, int port) addClusterNodes(String serverList) clusterClientIntelligence(ClientIntelligence intelligence) clusterSniHostName(String clusterSniHostName) create()Create the configuration beanBuilder<?>read(ClusterConfiguration template, Combine combine) Reads the configuration from an already created configuration bean into this builder.voidvalidate()Validate the data in this builder before building the configuration beanMethods inherited from class org.infinispan.client.hotrod.configuration.AbstractConfigurationChildBuilder
addCluster, addContextInitializer, addContextInitializer, addContextInitializers, addJavaSerialAllowList, addJavaSerialWhiteList, addServer, addServers, asyncExecutorFactory, balancingStrategy, balancingStrategy, balancingStrategy, batchSize, build, classLoader, clientIntelligence, connectionPool, connectionTimeout, consistentHashImpl, consistentHashImpl, dnsResolverMaxTTL, dnsResolverMinTTL, dnsResolverNegativeTTL, forceReturnValues, keySizeEstimate, marshaller, marshaller, marshaller, maxRetries, protocolVersion, remoteCache, security, socketTimeout, statistics, tcpKeepAlive, tcpNoDelay, transaction, transactionTimeout, transportFactory, uri, uri, valueSizeEstimate, version, withProperties
-
Constructor Details
-
ClusterConfigurationBuilder
-
-
Method Details
-
attributes
- Specified by:
attributesin interfaceBuilder<ClusterConfiguration>
-
getClusterName
-
addClusterNode
-
addClusterNodes
-
clusterClientIntelligence
-
clusterSniHostName
-
validate
public void validate()Description copied from interface:BuilderValidate the data in this builder before building the configuration bean- Specified by:
validatein interfaceBuilder<ClusterConfiguration>
-
create
Description copied from interface:BuilderCreate the configuration bean- Specified by:
createin interfaceBuilder<ClusterConfiguration>- Returns:
-
read
Description copied from interface:BuilderReads the configuration from an already created configuration bean into this builder. Returns an appropriate builder to allow fluent configuration- Specified by:
readin interfaceBuilder<ClusterConfiguration>- 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.
-