JBoss EJB client 2.0.0.Beta4

org.jboss.ejb.client
Interface EJBClientConfiguration.ClusterConfiguration

All Superinterfaces:
EJBClientConfiguration.CommonConnectionCreationConfiguration
Enclosing interface:
EJBClientConfiguration

public static interface EJBClientConfiguration.ClusterConfiguration
extends EJBClientConfiguration.CommonConnectionCreationConfiguration

Holds cluster specific configurations


Method Summary
 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.
 
Methods inherited from interface org.jboss.ejb.client.EJBClientConfiguration.CommonConnectionCreationConfiguration
getCallbackHandler, getChannelCreationOptions, getConnectionCreationOptions, getConnectionTimeout, isConnectEagerly
 

Method Detail

getClusterName

String getClusterName()
Returns the cluster name. This method must not return null

Returns:

getMaximumAllowedConnectedNodes

long getMaximumAllowedConnectedNodes()
Returns the maximum number of nodes which are allowed to be connected at a given time, in this cluster

Returns:

getClusterNodeSelector

ClusterNodeSelector getClusterNodeSelector()
Returns the ClusterNodeSelector to be used for this cluster. This method can return null, in which case the cluster will use some default ClusterNodeSelector

Returns:

getNodeConfiguration

EJBClientConfiguration.ClusterNodeConfiguration getNodeConfiguration(String nodeName)
Returns the configuration corresponding to the nodeName in this cluster. Returns null if no such configuration exists

Parameters:
nodeName - The name of the node in this cluster
Returns:

JBoss EJB client 2.0.0.Beta4

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.