Package com.sun.enterprise.mgmt
Class HealthMessage
- java.lang.Object
-
- com.sun.enterprise.mgmt.HealthMessage
-
- All Implemented Interfaces:
java.io.Serializable
public class HealthMessage extends java.lang.Object implements java.io.SerializableThis class contains health states of membersHealthMonitoruses this messages to check the member's health.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHealthMessage.EntryEntries class
-
Constructor Summary
Constructors Constructor Description HealthMessage()Default Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(HealthMessage.Entry entry)java.util.List<HealthMessage.Entry>getEntries()gets the entries listPeerIDgetSrcID()gets the src idvoidremove(HealthMessage.Entry entry)voidsetSrcID(PeerID id)sets the unique idjava.lang.StringtoString()returns the document string representation of this object
-
-
-
Method Detail
-
getEntries
public java.util.List<HealthMessage.Entry> getEntries()
gets the entries list- Returns:
- List The List containing Entries
-
getSrcID
public PeerID getSrcID()
gets the src id- Returns:
- Peerid The sender's peer id
-
add
public void add(HealthMessage.Entry entry)
-
remove
public void remove(HealthMessage.Entry entry)
-
setSrcID
public void setSrcID(PeerID id)
sets the unique id- Parameters:
id- The id
-
toString
public java.lang.String toString()
returns the document string representation of this object- Overrides:
toStringin classjava.lang.Object- Returns:
- String representation of the of this message type
-
-