Class FederationConnectionConfiguration
- java.lang.Object
-
- org.apache.activemq.artemis.core.config.federation.FederationConnectionConfiguration
-
- All Implemented Interfaces:
Serializable
public class FederationConnectionConfiguration extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static long
DEFAULT_CIRCUIT_BREAKER_TIMEOUT
-
Constructor Summary
Constructors Constructor Description FederationConnectionConfiguration()
-
Method Summary
-
-
-
Method Detail
-
getDiscoveryGroupName
public String getDiscoveryGroupName()
-
setDiscoveryGroupName
public FederationConnectionConfiguration setDiscoveryGroupName(String discoveryGroupName)
-
setStaticConnectors
public FederationConnectionConfiguration setStaticConnectors(List<String> staticConnectors)
-
isHA
public boolean isHA()
-
setHA
public FederationConnectionConfiguration setHA(boolean HA)
-
getCircuitBreakerTimeout
public long getCircuitBreakerTimeout()
-
setCircuitBreakerTimeout
public FederationConnectionConfiguration setCircuitBreakerTimeout(long circuitBreakerTimeout)
-
getUsername
public String getUsername()
-
setUsername
public FederationConnectionConfiguration setUsername(String username)
-
getPassword
public String getPassword()
-
setPassword
public FederationConnectionConfiguration setPassword(String password)
-
getPriorityAdjustment
public int getPriorityAdjustment()
-
setPriorityAdjustment
public FederationConnectionConfiguration setPriorityAdjustment(int priorityAdjustment)
-
isShareConnection
public boolean isShareConnection()
-
setShareConnection
public FederationConnectionConfiguration setShareConnection(boolean shareConnection)
-
getClientFailureCheckPeriod
public long getClientFailureCheckPeriod()
-
setClientFailureCheckPeriod
public FederationConnectionConfiguration setClientFailureCheckPeriod(long clientFailureCheckPeriod)
-
getConnectionTTL
public long getConnectionTTL()
-
setConnectionTTL
public FederationConnectionConfiguration setConnectionTTL(long connectionTTL)
-
getRetryInterval
public long getRetryInterval()
-
setRetryInterval
public FederationConnectionConfiguration setRetryInterval(long retryInterval)
-
getRetryIntervalMultiplier
public double getRetryIntervalMultiplier()
-
setRetryIntervalMultiplier
public FederationConnectionConfiguration setRetryIntervalMultiplier(double retryIntervalMultiplier)
-
getMaxRetryInterval
public long getMaxRetryInterval()
-
setMaxRetryInterval
public FederationConnectionConfiguration setMaxRetryInterval(long maxRetryInterval)
-
getInitialConnectAttempts
public int getInitialConnectAttempts()
-
setInitialConnectAttempts
public FederationConnectionConfiguration setInitialConnectAttempts(int initialConnectAttempts)
-
getReconnectAttempts
public int getReconnectAttempts()
-
setReconnectAttempts
public FederationConnectionConfiguration setReconnectAttempts(int reconnectAttempts)
-
getCallTimeout
public long getCallTimeout()
-
setCallTimeout
public FederationConnectionConfiguration setCallTimeout(long callTimeout)
-
getCallFailoverTimeout
public long getCallFailoverTimeout()
-
setCallFailoverTimeout
public FederationConnectionConfiguration setCallFailoverTimeout(long callFailoverTimeout)
-
encode
public void encode(ActiveMQBuffer buffer)
-
decode
public void decode(ActiveMQBuffer buffer)
-
-