public class ServerConfigurationBuilder extends AbstractConfigurationChildBuilder implements Builder<ServerConfiguration>
| Modifier and Type | Method and Description |
|---|---|
ServerConfiguration |
create()
Create the configuration bean
|
ServerConfigurationBuilder |
host(String host) |
ServerConfigurationBuilder |
port(int port) |
ServerConfigurationBuilder |
read(ServerConfiguration template)
Reads the configuration from an already created configuration bean into this builder.
|
void |
validate()
Validate the data in this builder before building the configuration bean
|
addCluster, addJavaSerialWhiteList, addServer, addServers, asyncExecutorFactory, balancingStrategy, balancingStrategy, balancingStrategy, batchSize, build, classLoader, clientIntelligence, connectionPool, connectionTimeout, consistentHashImpl, consistentHashImpl, forceReturnValues, keySizeEstimate, marshaller, marshaller, marshaller, maxRetries, protocolVersion, security, socketTimeout, tcpKeepAlive, tcpNoDelay, transportFactory, transportFactory, valueSizeEstimate, version, withPropertiespublic ServerConfigurationBuilder host(String host)
public ServerConfigurationBuilder port(int port)
public void validate()
Buildervalidate in interface Builder<ServerConfiguration>public ServerConfiguration create()
Buildercreate in interface Builder<ServerConfiguration>public ServerConfigurationBuilder read(ServerConfiguration template)
Builderread in interface Builder<ServerConfiguration>template - the configuration from which to "clone" this config if needed.Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.