Class AbstractConfigurationChildBuilder
java.lang.Object
org.infinispan.client.rest.configuration.AbstractConfigurationChildBuilder
- All Implemented Interfaces:
RestClientConfigurationChildBuilder
- Direct Known Subclasses:
AbstractSecurityConfigurationChildBuilder,SecurityConfigurationBuilder,ServerConfigurationBuilder
public abstract class AbstractConfigurationChildBuilder
extends Object
implements RestClientConfigurationChildBuilder
AbstractConfigurationChildBuilder.
- Since:
- 10.0
- Author:
- Tristan Tarrant
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier and TypeMethodDescriptionAdds a new remote serveraddServers(String servers) Adds a list of remote servers in the form: host1[:port][;host2[:port]]...build()Builds a configuration objectconnectionTimeout(long connectionTimeout) This property defines the maximum socket connect timeout before giving up connecting to the server.followRedirects(boolean followRedirects) priorKnowledge(boolean enabled) Configure the client to use Prior KnowledgeSelects the protocol used by the client.security()Security ConfigurationsocketTimeout(long socketTimeout) This property defines the maximum socket read timeout in milliseconds before giving up waiting for bytes from the server.tcpKeepAlive(boolean tcpKeepAlive) Affects TCP KEEPALIVE on the TCP stack.tcpNoDelay(boolean tcpNoDelay) Affects TCP NODELAY on the TCP stack.withProperties(Properties properties) Configures this builder using the specified properties.
-
Constructor Details
-
AbstractConfigurationChildBuilder
-
-
Method Details
-
addServer
Description copied from interface:RestClientConfigurationChildBuilderAdds a new remote server- Specified by:
addServerin interfaceRestClientConfigurationChildBuilder
-
addServers
Description copied from interface:RestClientConfigurationChildBuilderAdds a list of remote servers in the form: host1[:port][;host2[:port]]...- Specified by:
addServersin interfaceRestClientConfigurationChildBuilder
-
protocol
Description copied from interface:RestClientConfigurationChildBuilderSelects the protocol used by the client. See @Protocol- Specified by:
protocolin interfaceRestClientConfigurationChildBuilder
-
connectionTimeout
Description copied from interface:RestClientConfigurationChildBuilderThis property defines the maximum socket connect timeout before giving up connecting to the server. Defaults to 60000 (1 minute)- Specified by:
connectionTimeoutin interfaceRestClientConfigurationChildBuilder
-
priorKnowledge
Description copied from interface:RestClientConfigurationChildBuilderConfigure the client to use Prior Knowledge- Specified by:
priorKnowledgein interfaceRestClientConfigurationChildBuilder
-
followRedirects
- Specified by:
followRedirectsin interfaceRestClientConfigurationChildBuilder
-
socketTimeout
Description copied from interface:RestClientConfigurationChildBuilderThis property defines the maximum socket read timeout in milliseconds before giving up waiting for bytes from the server. Defaults to 60000 (1 minute)- Specified by:
socketTimeoutin interfaceRestClientConfigurationChildBuilder
-
security
Description copied from interface:RestClientConfigurationChildBuilderSecurity Configuration- Specified by:
securityin interfaceRestClientConfigurationChildBuilder
-
tcpNoDelay
Description copied from interface:RestClientConfigurationChildBuilderAffects TCP NODELAY on the TCP stack. Defaults to enabled- Specified by:
tcpNoDelayin interfaceRestClientConfigurationChildBuilder
-
tcpKeepAlive
Description copied from interface:RestClientConfigurationChildBuilderAffects TCP KEEPALIVE on the TCP stack. Defaults to disable- Specified by:
tcpKeepAlivein interfaceRestClientConfigurationChildBuilder
-
withProperties
Description copied from interface:RestClientConfigurationChildBuilderConfigures this builder using the specified properties. SeeRestClientConfigurationBuilderfor a list.- Specified by:
withPropertiesin interfaceRestClientConfigurationChildBuilder
-
build
Description copied from interface:RestClientConfigurationChildBuilderBuilds a configuration object- Specified by:
buildin interfaceRestClientConfigurationChildBuilder
-