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