public final class ClusterConnectionConfiguration extends Object implements Serializable
Constructor and Description |
---|
ClusterConnectionConfiguration(String name,
String address,
String connectorName,
int minLargeMessageSize,
long clientFailureCheckPeriod,
long connectionTTL,
long retryInterval,
double retryIntervalMultiplier,
long maxRetryInterval,
int reconnectAttempts,
long callTimeout,
long callFailoverTimeout,
boolean duplicateDetection,
boolean forwardWhenNoConsumers,
int maxHops,
int confirmationWindowSize,
List<String> staticConnectors,
boolean allowDirectConnectionsOnly,
long clusterNotificationInterval,
int clusterNotificationAttempts) |
ClusterConnectionConfiguration(String name,
String address,
String connectorName,
int minLargeMessageSize,
long clientFailureCheckPeriod,
long connectionTTL,
long retryInterval,
double retryIntervalMultiplier,
long maxRetryInterval,
int reconnectAttempts,
long callTimeout,
long callFailoverTimeout,
boolean duplicateDetection,
boolean forwardWhenNoConsumers,
int maxHops,
int confirmationWindowSize,
String discoveryGroupName,
long clusterNotificationInterval,
int clusterNotificationAttempts) |
ClusterConnectionConfiguration(String name,
String address,
String connectorName,
long retryInterval,
boolean duplicateDetection,
boolean forwardWhenNoConsumers,
int maxHops,
int confirmationWindowSize,
List<String> staticConnectors,
boolean allowDirectConnectionsOnly) |
ClusterConnectionConfiguration(String name,
String address,
String connectorName,
long retryInterval,
boolean duplicateDetection,
boolean forwardWhenNoConsumers,
int maxHops,
int confirmationWindowSize,
String discoveryGroupName) |
public ClusterConnectionConfiguration(String name, String address, String connectorName, long retryInterval, boolean duplicateDetection, boolean forwardWhenNoConsumers, int maxHops, int confirmationWindowSize, List<String> staticConnectors, boolean allowDirectConnectionsOnly)
public ClusterConnectionConfiguration(String name, String address, String connectorName, int minLargeMessageSize, long clientFailureCheckPeriod, long connectionTTL, long retryInterval, double retryIntervalMultiplier, long maxRetryInterval, int reconnectAttempts, long callTimeout, long callFailoverTimeout, boolean duplicateDetection, boolean forwardWhenNoConsumers, int maxHops, int confirmationWindowSize, List<String> staticConnectors, boolean allowDirectConnectionsOnly, long clusterNotificationInterval, int clusterNotificationAttempts)
public ClusterConnectionConfiguration(String name, String address, String connectorName, long retryInterval, boolean duplicateDetection, boolean forwardWhenNoConsumers, int maxHops, int confirmationWindowSize, String discoveryGroupName)
public ClusterConnectionConfiguration(String name, String address, String connectorName, int minLargeMessageSize, long clientFailureCheckPeriod, long connectionTTL, long retryInterval, double retryIntervalMultiplier, long maxRetryInterval, int reconnectAttempts, long callTimeout, long callFailoverTimeout, boolean duplicateDetection, boolean forwardWhenNoConsumers, int maxHops, int confirmationWindowSize, String discoveryGroupName, long clusterNotificationInterval, int clusterNotificationAttempts)
public String getName()
public String getAddress()
public long getClientFailureCheckPeriod()
public long getConnectionTTL()
public double getRetryIntervalMultiplier()
public long getMaxRetryInterval()
public int getReconnectAttempts()
public long getCallTimeout()
public long getCallFailoverTimeout()
public String getConnectorName()
public boolean isDuplicateDetection()
public boolean isForwardWhenNoConsumers()
public int getMaxHops()
public int getConfirmationWindowSize()
public String getDiscoveryGroupName()
public long getRetryInterval()
public boolean isAllowDirectConnectionsOnly()
public int getMinLargeMessageSize()
public void setMinLargeMessageSize(int minLargeMessageSize)
minLargeMessageSize
- the minLargeMessageSize to setpublic void setClientFailureCheckPeriod(long clientFailureCheckPeriod)
clientFailureCheckPeriod
- the clientFailureCheckPeriod to setpublic void setConnectionTTL(long connectionTTL)
connectionTTL
- the connectionTTL to setpublic void setRetryInterval(long retryInterval)
retryInterval
- the retryInterval to setpublic void setRetryIntervalMultiplier(double retryIntervalMultiplier)
retryIntervalMultiplier
- the retryIntervalMultiplier to setpublic void setMaxRetryInterval(long maxRetryInterval)
maxRetryInterval
- the maxRetryInterval to setpublic void setReconnectAttempts(int reconnectAttempts)
reconnectAttempts
- the reconnectAttempts to setpublic void setCallTimeout(long callTimeout)
callTimeout
- the callTimeout to setpublic void setCallFailoverTimeout(long callFailoverTimeout)
callFailoverTimeout
- the callTimeout to setpublic void setDuplicateDetection(boolean duplicateDetection)
duplicateDetection
- the duplicateDetection to setpublic void setForwardWhenNoConsumers(boolean forwardWhenNoConsumers)
forwardWhenNoConsumers
- the forwardWhenNoConsumers to setpublic long getClusterNotificationInterval()
public int getClusterNotificationAttempts()
Copyright © 2018 JBoss by Red Hat. All rights reserved.