|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.server.cluster.ClusterGroup
public class ClusterGroup
Defines a group of clusters. Normally, the group is the entire set of clusters in the server. subgroups of servers.
| Field Summary | |
|---|---|
protected static EnvironmentLocal<ClusterGroup> |
_clusterGroupLocal
|
| Method Summary | |
|---|---|
void |
addCluster(Cluster cluster)
Adds a cluster. |
static ClusterGroup |
createClusterGroup()
Returns the cluster group for the current level. |
ServerConnector |
findClient(java.lang.String host,
int port)
Finds the srun client port matching the host and port. |
Cluster |
findCluster(java.lang.String id)
Returns the cluster with the matching name. |
static ClusterGroup |
getClusterGroup()
Returns the cluster group for the current level. |
java.util.ArrayList<Cluster> |
getClusterList()
Returns all the clusters. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final EnvironmentLocal<ClusterGroup> _clusterGroupLocal
| Method Detail |
|---|
public static ClusterGroup getClusterGroup()
public static ClusterGroup createClusterGroup()
public void addCluster(Cluster cluster)
public java.util.ArrayList<Cluster> getClusterList()
public Cluster findCluster(java.lang.String id)
public ServerConnector findClient(java.lang.String host,
int port)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||