com.caucho.server.cluster
Class DomainCluster
java.lang.Object
com.caucho.server.cluster.DomainCluster
- All Implemented Interfaces:
- java.io.Serializable
public class DomainCluster
- extends java.lang.Object
- implements java.io.Serializable
Dynamic clustered representation of a server
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DomainCluster
public DomainCluster(java.lang.String id)
getId
public java.lang.String getId()
- Returns the server's unique id.
addServer
public void addServer(DomainServer server)
removeServer
public void removeServer(java.lang.String address,
int port)
copy
public DomainCluster copy()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object