Package com.sun.enterprise.mgmt
Class HealthMessage
- java.lang.Object
-
- com.sun.enterprise.mgmt.HealthMessage
-
- All Implemented Interfaces:
Serializable
public class HealthMessage extends Object implements Serializable
This 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)List<HealthMessage.Entry>getEntries()gets the entries listPeerIDgetSrcID()gets the src idvoidremove(HealthMessage.Entry entry)voidsetSrcID(PeerID id)sets the unique idStringtoString()returns the document string representation of this object
-
-
-
Method Detail
-
getEntries
public 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
-
-