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 protectedAbstractHotRodServerChildConfigurationBuilder(HotRodServerChildConfigurationBuilder builder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthenticationConfigurationBuilderauthentication()Configures authentication for this endpointHotRodServerChildConfigurationBuilderproxyHost(String proxyHost)Sets the external address of this node, i.e.HotRodServerChildConfigurationBuilderproxyPort(int proxyPort)Sets the external port of this node, i.e.HotRodServerChildConfigurationBuildertopologyAwaitInitialTransfer(boolean topologyAwaitInitialTransfer)Configures whether to enable waiting for initial state transfer for the topology cache.HotRodServerChildConfigurationBuildertopologyLockTimeout(long topologyLockTimeout)Configures the lock acquisition timeout for the topology cache.HotRodServerChildConfigurationBuildertopologyReplTimeout(long topologyReplTimeout)Configures the replication timeout for the topology cache.HotRodServerChildConfigurationBuildertopologyStateTransfer(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:HotRodServerChildConfigurationBuilderConfigures authentication for this endpoint- Specified by:
authenticationin interfaceHotRodServerChildConfigurationBuilder
-
proxyHost
public HotRodServerChildConfigurationBuilder proxyHost(String proxyHost)
Description copied from interface:HotRodServerChildConfigurationBuilderSets the external address of this node, i.e. the address which clients will connect to- Specified by:
proxyHostin interfaceHotRodServerChildConfigurationBuilder
-
proxyPort
public HotRodServerChildConfigurationBuilder proxyPort(int proxyPort)
Description copied from interface:HotRodServerChildConfigurationBuilderSets the external port of this node, i.e. the port which clients will connect to- Specified by:
proxyPortin interfaceHotRodServerChildConfigurationBuilder
-
topologyLockTimeout
public HotRodServerChildConfigurationBuilder topologyLockTimeout(long topologyLockTimeout)
Description copied from interface:HotRodServerChildConfigurationBuilderConfigures the lock acquisition timeout for the topology cache. SeeLockingConfigurationBuilder.lockAcquisitionTimeout(long). Defaults to 10 seconds- Specified by:
topologyLockTimeoutin interfaceHotRodServerChildConfigurationBuilder
-
topologyReplTimeout
public HotRodServerChildConfigurationBuilder topologyReplTimeout(long topologyReplTimeout)
Description copied from interface:HotRodServerChildConfigurationBuilderConfigures the replication timeout for the topology cache. SeeClusteringConfigurationBuilder.remoteTimeout(long). Defaults to 10 seconds- Specified by:
topologyReplTimeoutin interfaceHotRodServerChildConfigurationBuilder
-
topologyAwaitInitialTransfer
public HotRodServerChildConfigurationBuilder topologyAwaitInitialTransfer(boolean topologyAwaitInitialTransfer)
Description copied from interface:HotRodServerChildConfigurationBuilderConfigures whether to enable waiting for initial state transfer for the topology cache. SeeStateTransferConfigurationBuilder.awaitInitialTransfer(boolean)- Specified by:
topologyAwaitInitialTransferin interfaceHotRodServerChildConfigurationBuilder
-
topologyStateTransfer
public HotRodServerChildConfigurationBuilder topologyStateTransfer(boolean topologyStateTransfer)
Description copied from interface:HotRodServerChildConfigurationBuilderConfigures 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
-
-