public interface ClusterMXBean extends ManagedObjectMXBean
#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
Modifier and Type | Method and Description |
---|---|
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.
|
getName, getObjectName, getType
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)