|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ClusterMXBean
A Cluster is a collection of cluster members,
Each instance of Resin has 0 or 1 active srun ports and accept
inbound connections, available here with #getPortObjectName
.
Every instance of Resin can use
com.caucho.server.cluster.ClusterClient
s to establish
outbound connections to other members of the cluster, available
here with getServers()
.
A typical ObjectName for a ClusterMBean is
resin:type=Cluster,name=app-tier
Method Summary | |
---|---|
void |
addDynamicServer(java.lang.String id,
java.lang.String address,
int port)
Adds a new dynamic server to the cluster |
HostMXBean[] |
getHosts()
Returns a list of the ObjectNames for the virtual hosts. |
PersistentStoreMXBean |
getPersistentStore()
Returns the persistent-store ObjectName. |
ResinMXBean |
getResin()
Returns the owning ResinMXBean |
ClusterServerMXBean[] |
getServers()
Returns a list of ObjectName s for the
com.caucho.server.cluster.ClusterClient s that
are used to create outbound connections to communicate with
members of the cluster. |
boolean |
isDynamicServerEnable()
Returns true if this cluster supports adding dynamic servers. |
Methods inherited from interface com.caucho.management.server.ManagedObjectMXBean |
---|
getName, getObjectName, getType |
Method Detail |
---|
ResinMXBean getResin()
ClusterServerMXBean[] getServers()
ObjectName
s for the
com.caucho.server.cluster.ClusterClient
s that
are used to create outbound connections to communicate with
members of the cluster.
HostMXBean[] getHosts()
PersistentStoreMXBean getPersistentStore()
boolean isDynamicServerEnable()
void addDynamicServer(java.lang.String id, java.lang.String address, int port)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |