Interface HotRodServerChildConfigurationBuilder
- All Known Implementing Classes:
AbstractHotRodServerChildConfigurationBuilder
,AuthenticationConfigurationBuilder
,HotRodServerConfigurationBuilder
public interface HotRodServerChildConfigurationBuilder
HotRodServerChildConfigurationBuilder.
- Since:
- 7.0
- Author:
- Tristan Tarrant
-
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.
-
Method Details
-
authentication
AuthenticationConfigurationBuilder authentication()Configures authentication for this endpoint -
proxyHost
Sets the external address of this node, i.e. the address which clients will connect to -
proxyPort
Sets the external port of this node, i.e. the port which clients will connect to -
topologyLockTimeout
Configures the lock acquisition timeout for the topology cache. SeeLockingConfigurationBuilder.lockAcquisitionTimeout(long)
. Defaults to 10 seconds -
topologyReplTimeout
Configures the replication timeout for the topology cache. SeeClusteringConfigurationBuilder.remoteTimeout(long)
. Defaults to 10 seconds -
topologyAwaitInitialTransfer
HotRodServerChildConfigurationBuilder topologyAwaitInitialTransfer(boolean topologyAwaitInitialTransfer) Configures whether to enable waiting for initial state transfer for the topology cache. SeeStateTransferConfigurationBuilder.awaitInitialTransfer(boolean)
-
topologyNetworkPrefixOverride
HotRodServerConfigurationBuilder topologyNetworkPrefixOverride(boolean topologyNetworkPrefixOverride) 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 -
topologyStateTransfer
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.
-