Class HotRodServerConfigurationBuilder
java.lang.Object
org.infinispan.server.core.configuration.ProtocolServerConfigurationBuilder<HotRodServerConfiguration,HotRodServerConfigurationBuilder>
org.infinispan.server.hotrod.configuration.HotRodServerConfigurationBuilder
- All Implemented Interfaces:
org.infinispan.commons.configuration.Builder<HotRodServerConfiguration>,org.infinispan.commons.configuration.Self<HotRodServerConfigurationBuilder>,org.infinispan.server.core.configuration.ProtocolServerConfigurationChildBuilder<HotRodServerConfiguration,,HotRodServerConfigurationBuilder> HotRodServerChildConfigurationBuilder
public class HotRodServerConfigurationBuilder
extends org.infinispan.server.core.configuration.ProtocolServerConfigurationBuilder<HotRodServerConfiguration,HotRodServerConfigurationBuilder>
implements org.infinispan.commons.configuration.Builder<HotRodServerConfiguration>, HotRodServerChildConfigurationBuilder
HotRodServerConfigurationBuilder.
- Since:
- 5.3
- Author:
- Tristan Tarrant
-
Field Summary
Fields inherited from class org.infinispan.server.core.configuration.ProtocolServerConfigurationBuilder
attributes, ipFilter, ssl -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.infinispan.commons.configuration.attributes.AttributeSetConfigures authentication for this endpointbuild()build(boolean validate) create()org.infinispan.server.core.configuration.EncryptionConfigurationBuilderSets the external address of this node, i.e.proxyPort(int proxyPort) Sets the external port of this node, i.e.read(HotRodServerConfiguration template, org.infinispan.commons.configuration.Combine combine) self()topologyAwaitInitialTransfer(boolean topologyAwaitInitialTransfer) Configures whether to enable waiting for initial state transfer for the topology cache.topologyLockTimeout(long topologyLockTimeout) Configures the lock acquisition timeout for the topology cache.topologyNetworkPrefixOverride(boolean topologyNetworkPrefixOverride) Configures whether to honor or override the network prefix returned for the available interfaces.topologyReplTimeout(long topologyReplTimeout) Configures the replication timeout for the topology cache.topologyStateTransfer(boolean topologyStateTransfer) Deprecated.since 11.0.voidvalidate()Methods inherited from class org.infinispan.server.core.configuration.ProtocolServerConfigurationBuilder
adminOperationsHandler, defaultCacheName, host, host, idleTimeout, implicitConnector, implicitConnector, ioThreads, ipFilter, name, name, port, port, recvBufSize, sendBufSize, socketBinding, socketBinding, ssl, startTransport, startTransport, tcpKeepAlive, tcpNoDelayMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.infinispan.commons.configuration.Builder
read, reset
-
Constructor Details
-
HotRodServerConfigurationBuilder
public HotRodServerConfigurationBuilder()
-
-
Method Details
-
attributes
public org.infinispan.commons.configuration.attributes.AttributeSet attributes()- Specified by:
attributesin interfaceorg.infinispan.commons.configuration.Builder<HotRodServerConfiguration>
-
self
- Specified by:
selfin interfaceorg.infinispan.commons.configuration.Self<HotRodServerConfigurationBuilder>
-
authentication
Description copied from interface:HotRodServerChildConfigurationBuilderConfigures authentication for this endpoint- Specified by:
authenticationin interfaceHotRodServerChildConfigurationBuilder
-
encryption
public org.infinispan.server.core.configuration.EncryptionConfigurationBuilder encryption() -
proxyHost
Sets the external address of this node, i.e. the address which clients will connect to- Specified by:
proxyHostin interfaceHotRodServerChildConfigurationBuilder
-
proxyPort
Sets the external port of this node, i.e. the port which clients will connect to- Specified by:
proxyPortin interfaceHotRodServerChildConfigurationBuilder
-
topologyLockTimeout
Configures the lock acquisition timeout for the topology cache. SeeLockingConfigurationBuilder.lockAcquisitionTimeout(long). Defaults to 10 seconds- Specified by:
topologyLockTimeoutin interfaceHotRodServerChildConfigurationBuilder
-
topologyReplTimeout
Configures the replication timeout for the topology cache. SeeClusteringConfigurationBuilder.remoteTimeout(long). Defaults to 10 seconds- Specified by:
topologyReplTimeoutin interfaceHotRodServerChildConfigurationBuilder
-
topologyAwaitInitialTransfer
public HotRodServerConfigurationBuilder topologyAwaitInitialTransfer(boolean topologyAwaitInitialTransfer) Configures whether to enable waiting for initial state transfer for the topology cache. SeeStateTransferConfigurationBuilder.awaitInitialTransfer(boolean)- Specified by:
topologyAwaitInitialTransferin interfaceHotRodServerChildConfigurationBuilder
-
topologyNetworkPrefixOverride
public HotRodServerConfigurationBuilder topologyNetworkPrefixOverride(boolean topologyNetworkPrefixOverride) Description copied from interface:HotRodServerChildConfigurationBuilderConfigures whether to honor or override the network prefix returned for the available interfaces. Defaults to override and to use the IANA private address conventions defined in RFC 1918- Specified by:
topologyNetworkPrefixOverridein interfaceHotRodServerChildConfigurationBuilder
-
topologyStateTransfer
@Deprecated public HotRodServerConfigurationBuilder topologyStateTransfer(boolean topologyStateTransfer) Deprecated.since 11.0. To be removed in 14.0 ISPN-11864 with no direct replacement.Configures whether to enable state transfer for the topology cache. If disabled, aClusterLoaderwill be used to lazily retrieve topology information from the other nodes. Defaults to true.- Specified by:
topologyStateTransferin interfaceHotRodServerChildConfigurationBuilder
-
create
- Specified by:
createin interfaceorg.infinispan.commons.configuration.Builder<HotRodServerConfiguration>
-
read
public HotRodServerConfigurationBuilder read(HotRodServerConfiguration template, org.infinispan.commons.configuration.Combine combine) - Specified by:
readin interfaceorg.infinispan.commons.configuration.Builder<HotRodServerConfiguration>- Overrides:
readin classorg.infinispan.server.core.configuration.ProtocolServerConfigurationBuilder<HotRodServerConfiguration,HotRodServerConfigurationBuilder>
-
validate
public void validate()- Specified by:
validatein interfaceorg.infinispan.commons.configuration.Builder<HotRodServerConfiguration>- Overrides:
validatein classorg.infinispan.server.core.configuration.ProtocolServerConfigurationBuilder<HotRodServerConfiguration,HotRodServerConfigurationBuilder>
-
build
-
build
- Specified by:
buildin interfaceorg.infinispan.server.core.configuration.ProtocolServerConfigurationChildBuilder<HotRodServerConfiguration,HotRodServerConfigurationBuilder>
-