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. |
Iterator<EJBClientConfiguration.ClusterNodeConfiguration> |
getNodeConfigurations()
Returns the configurations of individual nodes in this cluster.
|
getCallbackHandler, getChannelCreationOptions, getConnectionCreationOptions, getConnectionTimeout
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
Iterator<EJBClientConfiguration.ClusterNodeConfiguration> getNodeConfigurations()
Iterator
EJBClientConfiguration.ClusterNodeConfiguration getNodeConfiguration(String nodeName)
nodeName
in this cluster. Returns null
if no such configuration existsnodeName
- The name of the node in this clusterCopyright © 2012 JBoss by Red Hat. All Rights Reserved.