Class AbstractHotRodServerChildConfigurationBuilder
java.lang.Object
org.infinispan.server.hotrod.configuration.AbstractHotRodServerChildConfigurationBuilder
- All Implemented Interfaces:
HotRodServerChildConfigurationBuilder
- Direct Known Subclasses:
AuthenticationConfigurationBuilder
public abstract class AbstractHotRodServerChildConfigurationBuilder
extends Object
implements HotRodServerChildConfigurationBuilder
AbstractHotRodServerChildConfigurationBuilder.
- Since:
- 7.0
- Author:
- Tristan Tarrant
-
Constructor Summary
ModifierConstructorDescriptionprotected
-
Method Summary
Modifier and TypeMethodDescriptionConfigures authentication for this endpointSets the external address of this node, i.e.proxyPort
(int proxyPort) Sets the external port of this node, i.e.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) Configures whether to enable state transfer for the topology cache.
-
Constructor Details
-
AbstractHotRodServerChildConfigurationBuilder
protected AbstractHotRodServerChildConfigurationBuilder(HotRodServerChildConfigurationBuilder builder)
-
-
Method Details
-
authentication
Description copied from interface:HotRodServerChildConfigurationBuilder
Configures authentication for this endpoint- Specified by:
authentication
in interfaceHotRodServerChildConfigurationBuilder
-
proxyHost
Description copied from interface:HotRodServerChildConfigurationBuilder
Sets the external address of this node, i.e. the address which clients will connect to- Specified by:
proxyHost
in interfaceHotRodServerChildConfigurationBuilder
-
proxyPort
Description copied from interface:HotRodServerChildConfigurationBuilder
Sets the external port of this node, i.e. the port which clients will connect to- Specified by:
proxyPort
in interfaceHotRodServerChildConfigurationBuilder
-
topologyLockTimeout
Description copied from interface:HotRodServerChildConfigurationBuilder
Configures the lock acquisition timeout for the topology cache. SeeLockingConfigurationBuilder.lockAcquisitionTimeout(long)
. Defaults to 10 seconds- Specified by:
topologyLockTimeout
in interfaceHotRodServerChildConfigurationBuilder
-
topologyReplTimeout
Description copied from interface:HotRodServerChildConfigurationBuilder
Configures the replication timeout for the topology cache. SeeClusteringConfigurationBuilder.remoteTimeout(long)
. Defaults to 10 seconds- Specified by:
topologyReplTimeout
in interfaceHotRodServerChildConfigurationBuilder
-
topologyAwaitInitialTransfer
public HotRodServerChildConfigurationBuilder topologyAwaitInitialTransfer(boolean topologyAwaitInitialTransfer) Description copied from interface:HotRodServerChildConfigurationBuilder
Configures whether to enable waiting for initial state transfer for the topology cache. SeeStateTransferConfigurationBuilder.awaitInitialTransfer(boolean)
- Specified by:
topologyAwaitInitialTransfer
in interfaceHotRodServerChildConfigurationBuilder
-
topologyStateTransfer
Description copied from interface:HotRodServerChildConfigurationBuilder
Configures whether to enable state transfer for the topology cache. If disabled, aClusterLoader
will be used to lazily retrieve topology information from the other nodes. Defaults to true.- Specified by:
topologyStateTransfer
in interfaceHotRodServerChildConfigurationBuilder
-
topologyNetworkPrefixOverride
public HotRodServerConfigurationBuilder topologyNetworkPrefixOverride(boolean topologyNetworkPrefixOverride) Description copied from interface:HotRodServerChildConfigurationBuilder
Configures 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:
topologyNetworkPrefixOverride
in interfaceHotRodServerChildConfigurationBuilder
-