public class ClusterConnection extends Object
| Constructor and Description |
|---|
ClusterConnection(String key) |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
allowDirectConnectionsOnly()
Whether, if a node learns of the existence of a node that is more than 1 hop away, we do not create a bridge for direct cluster connection.
|
ClusterConnection |
allowDirectConnectionsOnly(Boolean value)
Whether, if a node learns of the existence of a node that is more than 1 hop away, we do not create a bridge for direct cluster connection.
|
Long |
callFailoverTimeout()
The timeout to use when fail over is in process (in ms) for remote calls made by the cluster connection.
|
ClusterConnection |
callFailoverTimeout(Long value)
The timeout to use when fail over is in process (in ms) for remote calls made by the cluster connection.
|
Long |
callTimeout()
The timeout (in ms) for remote calls made by the cluster connection.
|
ClusterConnection |
callTimeout(Long value)
The timeout (in ms) for remote calls made by the cluster connection.
|
Long |
checkPeriod()
The period (in milliseconds) between client failure check.
|
ClusterConnection |
checkPeriod(Long value)
The period (in milliseconds) between client failure check.
|
String |
clusterConnectionAddress()
Each cluster connection only applies to messages sent to an address that starts with this value.
|
ClusterConnection |
clusterConnectionAddress(String value)
Each cluster connection only applies to messages sent to an address that starts with this value.
|
Integer |
confirmationWindowSize()
The confirmation-window-size to use for the connection used to forward messages to a target node.
|
ClusterConnection |
confirmationWindowSize(Integer value)
The confirmation-window-size to use for the connection used to forward messages to a target node.
|
Long |
connectionTtl()
The maximum time (in milliseconds) for which the connections used by the cluster connections are considered alive (in the absence of heartbeat).
|
ClusterConnection |
connectionTtl(Long value)
The maximum time (in milliseconds) for which the connections used by the cluster connections are considered alive (in the absence of heartbeat).
|
String |
connectorName()
The name of connector to use for live connection
|
ClusterConnection |
connectorName(String value)
The name of connector to use for live connection
|
String |
discoveryGroup()
The discovery group used to obtain the list of other servers in the cluster to which this cluster connection will make connections.
|
ClusterConnection |
discoveryGroup(String value)
The discovery group used to obtain the list of other servers in the cluster to which this cluster connection will make connections.
|
String |
getKey() |
Integer |
initialConnectAttempts()
The number of attempts to connect initially with this cluster connection.
|
ClusterConnection |
initialConnectAttempts(Integer value)
The number of attempts to connect initially with this cluster connection.
|
Integer |
maxHops()
The maximum number of times a message can be forwarded.
|
ClusterConnection |
maxHops(Integer value)
The maximum number of times a message can be forwarded.
|
Long |
maxRetryInterval()
The maximum interval of time used to retry connections
|
ClusterConnection |
maxRetryInterval(Long value)
The maximum interval of time used to retry connections
|
String |
messageLoadBalancingType()
The type of message load balancing provided by the cluster connection.
|
ClusterConnection |
messageLoadBalancingType(String value)
The type of message load balancing provided by the cluster connection.
|
Integer |
minLargeMessageSize()
The minimum size (in bytes) for a message before it is considered as a large message.
|
ClusterConnection |
minLargeMessageSize(Integer value)
The minimum size (in bytes) for a message before it is considered as a large message.
|
String |
nodeId()
The node ID used by this cluster connection.
|
ClusterConnection |
nodeId(String value)
The node ID used by this cluster connection.
|
Integer |
notificationAttempts()
How many times the cluster connection will broadcast itself
|
ClusterConnection |
notificationAttempts(Integer value)
How many times the cluster connection will broadcast itself
|
Long |
notificationInterval()
How often the cluster connection will broadcast itself
|
ClusterConnection |
notificationInterval(Long value)
How often the cluster connection will broadcast itself
|
Integer |
reconnectAttempts()
The total number of reconnect attempts the bridge will make before giving up and shutting down.
|
ClusterConnection |
reconnectAttempts(Integer value)
The total number of reconnect attempts the bridge will make before giving up and shutting down.
|
Long |
retryInterval()
The period in milliseconds between subsequent attempts to reconnect to a target server, if the connection to the target server has failed.
|
ClusterConnection |
retryInterval(Long value)
The period in milliseconds between subsequent attempts to reconnect to a target server, if the connection to the target server has failed.
|
BigDecimal |
retryIntervalMultiplier()
A multiplier to apply to the time since the last retry to compute the time to the next retry.
|
ClusterConnection |
retryIntervalMultiplier(BigDecimal value)
A multiplier to apply to the time since the last retry to compute the time to the next retry.
|
Boolean |
started()
Whether the cluster connection is started.
|
ClusterConnection |
started(Boolean value)
Whether the cluster connection is started.
|
List<String> |
staticConnectors()
The statically defined list of connectors to which this cluster connection will make connections.
|
ClusterConnection |
staticConnectors(List<String> value)
The statically defined list of connectors to which this cluster connection will make connections.
|
String |
topology()
The topology of the nodes that this cluster connection is aware of.
|
ClusterConnection |
topology(String value)
The topology of the nodes that this cluster connection is aware of.
|
Boolean |
useDuplicateDetection()
Whether the bridge will automatically insert a duplicate id property into each message that it forwards.
|
ClusterConnection |
useDuplicateDetection(Boolean value)
Whether the bridge will automatically insert a duplicate id property into each message that it forwards.
|
public ClusterConnection(String key)
public String getKey()
public Boolean allowDirectConnectionsOnly()
public ClusterConnection allowDirectConnectionsOnly(Boolean value)
public Long callFailoverTimeout()
public ClusterConnection callFailoverTimeout(Long value)
public Long callTimeout()
public ClusterConnection callTimeout(Long value)
public Long checkPeriod()
public ClusterConnection checkPeriod(Long value)
public String clusterConnectionAddress()
public ClusterConnection clusterConnectionAddress(String value)
public Integer confirmationWindowSize()
public ClusterConnection confirmationWindowSize(Integer value)
public Long connectionTtl()
public ClusterConnection connectionTtl(Long value)
public String connectorName()
public ClusterConnection connectorName(String value)
public String discoveryGroup()
public ClusterConnection discoveryGroup(String value)
public Integer initialConnectAttempts()
public ClusterConnection initialConnectAttempts(Integer value)
public Integer maxHops()
public ClusterConnection maxHops(Integer value)
public Long maxRetryInterval()
public ClusterConnection maxRetryInterval(Long value)
public String messageLoadBalancingType()
public ClusterConnection messageLoadBalancingType(String value)
public Integer minLargeMessageSize()
public ClusterConnection minLargeMessageSize(Integer value)
public String nodeId()
public ClusterConnection nodeId(String value)
public Integer notificationAttempts()
public ClusterConnection notificationAttempts(Integer value)
public Long notificationInterval()
public ClusterConnection notificationInterval(Long value)
public Integer reconnectAttempts()
public ClusterConnection reconnectAttempts(Integer value)
public Long retryInterval()
public ClusterConnection retryInterval(Long value)
public BigDecimal retryIntervalMultiplier()
public ClusterConnection retryIntervalMultiplier(BigDecimal value)
public Boolean started()
public ClusterConnection started(Boolean value)
public List<String> staticConnectors()
public ClusterConnection staticConnectors(List<String> value)
public String topology()
public ClusterConnection topology(String value)
public Boolean useDuplicateDetection()
public ClusterConnection useDuplicateDetection(Boolean value)
Copyright © 2015 JBoss by Red Hat. All rights reserved.