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
Constructors Modifier Constructor Description protected
AbstractHotRodServerChildConfigurationBuilder(HotRodServerChildConfigurationBuilder builder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthenticationConfigurationBuilder
authentication()
Configures authentication for this endpointHotRodServerChildConfigurationBuilder
proxyHost(String proxyHost)
Sets the external address of this node, i.e.HotRodServerChildConfigurationBuilder
proxyPort(int proxyPort)
Sets the external port of this node, i.e.HotRodServerChildConfigurationBuilder
topologyAwaitInitialTransfer(boolean topologyAwaitInitialTransfer)
Configures whether to enable waiting for initial state transfer for the topology cache.HotRodServerChildConfigurationBuilder
topologyLockTimeout(long topologyLockTimeout)
Configures the lock acquisition timeout for the topology cache.HotRodServerConfigurationBuilder
topologyNetworkPrefixOverride(boolean topologyNetworkPrefixOverride)
Configures whether to honor or override the network prefix returned for the available interfaces.HotRodServerChildConfigurationBuilder
topologyReplTimeout(long topologyReplTimeout)
Configures the replication timeout for the topology cache.HotRodServerChildConfigurationBuilder
topologyStateTransfer(boolean topologyStateTransfer)
Configures whether to enable state transfer for the topology cache.
-
-
-
Constructor Detail
-
AbstractHotRodServerChildConfigurationBuilder
protected AbstractHotRodServerChildConfigurationBuilder(HotRodServerChildConfigurationBuilder builder)
-
-
Method Detail
-
authentication
public AuthenticationConfigurationBuilder authentication()
Description copied from interface:HotRodServerChildConfigurationBuilder
Configures authentication for this endpoint- Specified by:
authentication
in interfaceHotRodServerChildConfigurationBuilder
-
proxyHost
public HotRodServerChildConfigurationBuilder proxyHost(String 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
public HotRodServerChildConfigurationBuilder proxyPort(int 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
public HotRodServerChildConfigurationBuilder topologyLockTimeout(long 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
public HotRodServerChildConfigurationBuilder topologyReplTimeout(long 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
public HotRodServerChildConfigurationBuilder topologyStateTransfer(boolean 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
-
-