public final class ClusterConnectionConfiguration extends Object implements Serializable
Constructor and Description |
---|
ClusterConnectionConfiguration() |
public String getName()
public ClusterConnectionConfiguration setName(String name)
public String getAddress()
public ClusterConnectionConfiguration setAddress(String address)
public long getClientFailureCheckPeriod()
public long getConnectionTTL()
public double getRetryIntervalMultiplier()
public long getMaxRetryInterval()
public int getInitialConnectAttempts()
public int getReconnectAttempts()
public long getCallTimeout()
public long getCallFailoverTimeout()
public String getConnectorName()
public ClusterConnectionConfiguration setConnectorName(String connectorName)
public boolean isDuplicateDetection()
public MessageLoadBalancingType getMessageLoadBalancingType()
public int getMaxHops()
public ClusterConnectionConfiguration setMaxHops(int maxHops)
public int getConfirmationWindowSize()
public ClusterConnectionConfiguration setConfirmationWindowSize(int confirmationWindowSize)
public ClusterConnectionConfiguration setStaticConnectors(List<String> staticConnectors)
public String getDiscoveryGroupName()
public ClusterConnectionConfiguration setDiscoveryGroupName(String discoveryGroupName)
public long getRetryInterval()
public boolean isAllowDirectConnectionsOnly()
public ClusterConnectionConfiguration setAllowDirectConnectionsOnly(boolean allowDirectConnectionsOnly)
public int getMinLargeMessageSize()
public ClusterConnectionConfiguration setMinLargeMessageSize(int minLargeMessageSize)
minLargeMessageSize
- the minLargeMessageSize to setpublic ClusterConnectionConfiguration setClientFailureCheckPeriod(long clientFailureCheckPeriod)
clientFailureCheckPeriod
- the clientFailureCheckPeriod to setpublic ClusterConnectionConfiguration setConnectionTTL(long connectionTTL)
connectionTTL
- the connectionTTL to setpublic ClusterConnectionConfiguration setRetryInterval(long retryInterval)
retryInterval
- the retryInterval to setpublic ClusterConnectionConfiguration setRetryIntervalMultiplier(double retryIntervalMultiplier)
retryIntervalMultiplier
- the retryIntervalMultiplier to setpublic ClusterConnectionConfiguration setMaxRetryInterval(long maxRetryInterval)
maxRetryInterval
- the maxRetryInterval to setpublic ClusterConnectionConfiguration setInitialConnectAttempts(int initialConnectAttempts)
initialConnectAttempts
- the reconnectAttempts to setpublic ClusterConnectionConfiguration setReconnectAttempts(int reconnectAttempts)
reconnectAttempts
- the reconnectAttempts to setpublic ClusterConnectionConfiguration setCallTimeout(long callTimeout)
callTimeout
- the callTimeout to setpublic ClusterConnectionConfiguration setCallFailoverTimeout(long callFailoverTimeout)
callFailoverTimeout
- the callTimeout to setpublic ClusterConnectionConfiguration setDuplicateDetection(boolean duplicateDetection)
duplicateDetection
- the duplicateDetection to setpublic ClusterConnectionConfiguration setMessageLoadBalancingType(MessageLoadBalancingType messageLoadBalancingType)
messageLoadBalancingType
- public long getClusterNotificationInterval()
public ClusterConnectionConfiguration setClusterNotificationInterval(long clusterNotificationInterval)
public int getClusterNotificationAttempts()
public ClusterConnectionConfiguration setClusterNotificationAttempts(int clusterNotificationAttempts)
Copyright © 2016 JBoss by Red Hat. All rights reserved.