public static interface EJBClientConfiguration.ClusterConfiguration extends EJBClientConfiguration.CommonConnectionCreationConfiguration
Modifier and Type | Method and Description |
---|---|
String |
getClusterName()
Returns the cluster name.
|
ClusterNodeSelector |
getClusterNodeSelector()
Returns the
ClusterNodeSelector to be used for this cluster. |
long |
getMaximumAllowedConnectedNodes()
Returns the maximum number of nodes which are allowed to be connected at a given time, in this cluster
|
EJBClientConfiguration.ClusterNodeConfiguration |
getNodeConfiguration(String nodeName)
Returns the configuration corresponding to the
nodeName in this cluster. |
getCallbackHandler, getChannelCreationOptions, getConnectionCreationOptions, getConnectionTimeout, isConnectEagerly
String getClusterName()
long getMaximumAllowedConnectedNodes()
ClusterNodeSelector getClusterNodeSelector()
ClusterNodeSelector
to be used for this cluster. This method can return
null, in which case the cluster will use some default ClusterNodeSelector
EJBClientConfiguration.ClusterNodeConfiguration getNodeConfiguration(String nodeName)
nodeName
in this cluster. Returns null
if no such configuration existsnodeName
- The name of the node in this clusterCopyright © 2016 JBoss by Red Hat. All rights reserved.