com.caucho.cloud.heartbeat
Class HeartbeatMessage

java.lang.Object
  extended by com.caucho.cloud.heartbeat.HeartbeatMessage
All Implemented Interfaces:
java.io.Serializable

public class HeartbeatMessage
extends java.lang.Object
implements java.io.Serializable

Message sent indicating that the server is alive.

See Also:
Serialized Form

Constructor Summary
protected HeartbeatMessage()
          Hessian serialization
  HeartbeatMessage(java.lang.String clusterId, int podIndex, int serverIndex, long timestamp)
           
 
Method Summary
 java.lang.String getClusterId()
           
 int getPodIndex()
           
 int getServerIndex()
           
 long getTimestamp()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HeartbeatMessage

protected HeartbeatMessage()
Hessian serialization


HeartbeatMessage

public HeartbeatMessage(java.lang.String clusterId,
                        int podIndex,
                        int serverIndex,
                        long timestamp)
Method Detail

getClusterId

public java.lang.String getClusterId()

getPodIndex

public int getPodIndex()

getServerIndex

public int getServerIndex()

getTimestamp

public long getTimestamp()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object