public class CloudClusterAdmin extends AbstractManagedObject implements ClusterMXBean
Constructor and Description |
---|
CloudClusterAdmin(CloudCluster cluster) |
Modifier and Type | Method and Description |
---|---|
void |
addDynamicServer(java.lang.String id,
java.lang.String address,
int port)
Adds a new dynamic server
|
HostMXBean[] |
getHosts()
Returns a list of the ObjectNames for the virtual hosts.
|
java.lang.String |
getName()
The JMX name property of the mbean.
|
PersistentStoreMXBean |
getPersistentStore()
Returns the persistent-store ObjectName.
|
PortMXBean |
getPort() |
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.
|
java.lang.String |
toString() |
addObjectNameProperties, getObjectName, getType, registerSelf, unregisterSelf
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getObjectName, getType
public CloudClusterAdmin(CloudCluster cluster)
public java.lang.String getName()
AbstractManagedObject
getName
in interface ManagedObjectMXBean
getName
in class AbstractManagedObject
public HostMXBean[] getHosts()
ClusterMXBean
getHosts
in interface ClusterMXBean
public PortMXBean getPort()
public ResinMXBean getResin()
ClusterMXBean
getResin
in interface ClusterMXBean
public PersistentStoreMXBean getPersistentStore()
ClusterMXBean
getPersistentStore
in interface ClusterMXBean
public ClusterServerMXBean[] getServers()
ClusterMXBean
ObjectName
s for the
com.caucho.server.cluster.ClusterClient
s that
are used to create outbound connections to communicate with
members of the cluster.getServers
in interface ClusterMXBean
public void addDynamicServer(java.lang.String id, java.lang.String address, int port)
addDynamicServer
in interface ClusterMXBean
public boolean isDynamicServerEnable()
ClusterMXBean
isDynamicServerEnable
in interface ClusterMXBean
public java.lang.String toString()
toString
in class AbstractManagedObject