|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.bitrepository.monitoringservice.status.ComponentStatus
public class ComponentStatus
Class to encapsulate the status of a component.
Constructor Summary | |
---|---|
ComponentStatus()
Constructor |
Method Summary | |
---|---|
void |
alarmed()
|
String |
getInfo()
|
XMLGregorianCalendar |
getLastReply()
|
int |
getNumberOfMissingReplies()
|
ComponentStatusCode |
getStatus()
|
Boolean |
hasAlarmed()
|
void |
markAsUnresponsive()
Marks the component as unresponsive. |
void |
updateReplys()
Add another missing reply. |
void |
updateStatus(ResultingStatus resultingStatus)
Update the status of a component with the given results. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ComponentStatus()
Method Detail |
---|
public void updateStatus(ResultingStatus resultingStatus)
public void updateReplys()
public void markAsUnresponsive()
public int getNumberOfMissingReplies()
public ComponentStatusCode getStatus()
public XMLGregorianCalendar getLastReply()
public String getInfo()
public Boolean hasAlarmed()
public void alarmed()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |