|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.bitrepository.monitoringservice.status.ComponentStatusStore
public class ComponentStatusStore
Storage for the status of the different components.
Constructor Summary | |
---|---|
ComponentStatusStore(Set<String> components)
Constructor. |
Method Summary | |
---|---|
Map<String,ComponentStatus> |
getStatusMap()
|
void |
updateReplyCounts()
Tells the store that new statuses have been requested from the components. |
void |
updateStatus(String componentID,
ResultingStatus status)
Updates the status of a given component. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ComponentStatusStore(Set<String> components)
components
- The components whose status are to be stored in this store.Method Detail |
---|
public void updateStatus(String componentID, ResultingStatus status)
StatusStore
updateStatus
in interface StatusStore
componentID
- The id of the component to update.status
- The resulting status for the given component.public void updateReplyCounts()
StatusStore
updateReplyCounts
in interface StatusStore
public Map<String,ComponentStatus> getStatusMap()
getStatusMap
in interface StatusStore
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |