com.caucho.cloud.topology
Class TriadServer

java.lang.Object
  extended by com.caucho.cloud.topology.CloudServer
      extended by com.caucho.cloud.topology.TriadServer

public class TriadServer
extends CloudServer

Defines a triad server, one of the three hub servers in a pod.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.caucho.cloud.topology.CloudServer
CloudServer.ServerType
 
Constructor Summary
TriadServer(java.lang.String id, CloudPod pod, int index, java.lang.String address, int port, boolean isSSL, CloudServer.ServerType isStatic)
           
 
Method Summary
 boolean isTriad()
          True if this server is a triad.
 
Methods inherited from class com.caucho.cloud.topology.CloudServer
decode, disable, disableSoft, enable, getAddress, getCluster, getData, getDebugId, getId, getIdWithinCluster, getIdWithinDomain, getIndex, getPod, getPort, getState, getSystem, getTriadOwner, isExternal, isSelf, isSSL, isStatic, onHeartbeatStart, onHeartbeatStop, overrideState, putData, putDataIfAbsent, removeData, setSelf, setState, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TriadServer

public TriadServer(java.lang.String id,
                   CloudPod pod,
                   int index,
                   java.lang.String address,
                   int port,
                   boolean isSSL,
                   CloudServer.ServerType isStatic)
Method Detail

isTriad

public boolean isTriad()
True if this server is a triad.

Overrides:
isTriad in class CloudServer