public class FederationConnectionConfiguration extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static long |
DEFAULT_CIRCUIT_BREAKER_TIMEOUT |
Constructor and Description |
---|
FederationConnectionConfiguration() |
public String getDiscoveryGroupName()
public FederationConnectionConfiguration setDiscoveryGroupName(String discoveryGroupName)
public FederationConnectionConfiguration setStaticConnectors(List<String> staticConnectors)
public boolean isHA()
public FederationConnectionConfiguration setHA(boolean HA)
public long getCircuitBreakerTimeout()
public FederationConnectionConfiguration setCircuitBreakerTimeout(long circuitBreakerTimeout)
public String getUsername()
public FederationConnectionConfiguration setUsername(String username)
public String getPassword()
public FederationConnectionConfiguration setPassword(String password)
public int getPriorityAdjustment()
public FederationConnectionConfiguration setPriorityAdjustment(int priorityAdjustment)
public boolean isShareConnection()
public FederationConnectionConfiguration setShareConnection(boolean shareConnection)
public long getClientFailureCheckPeriod()
public FederationConnectionConfiguration setClientFailureCheckPeriod(long clientFailureCheckPeriod)
public long getConnectionTTL()
public FederationConnectionConfiguration setConnectionTTL(long connectionTTL)
public long getRetryInterval()
public FederationConnectionConfiguration setRetryInterval(long retryInterval)
public double getRetryIntervalMultiplier()
public FederationConnectionConfiguration setRetryIntervalMultiplier(double retryIntervalMultiplier)
public long getMaxRetryInterval()
public FederationConnectionConfiguration setMaxRetryInterval(long maxRetryInterval)
public int getInitialConnectAttempts()
public FederationConnectionConfiguration setInitialConnectAttempts(int initialConnectAttempts)
public int getReconnectAttempts()
public FederationConnectionConfiguration setReconnectAttempts(int reconnectAttempts)
public long getCallTimeout()
public FederationConnectionConfiguration setCallTimeout(long callTimeout)
public long getCallFailoverTimeout()
public FederationConnectionConfiguration setCallFailoverTimeout(long callFailoverTimeout)
public void encode(ActiveMQBuffer buffer)
public void decode(ActiveMQBuffer buffer)
Copyright © 2021 JBoss by Red Hat. All rights reserved.