|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SupervisorInfo
Interface used to send blade state information from a CLIF server to the Supervisor
Field Summary | |
---|---|
static java.lang.String |
SUPERVISOR_INFO
|
Method Summary | |
---|---|
void |
alarm(java.lang.String id,
AlarmEvent alarm)
Informs that an alarm occurred |
java.util.Map |
getDefinitions()
|
BladeState |
getGlobalState(java.lang.String[] selBladesId)
Get global state for these blades. |
void |
setBladeState(java.lang.String id,
BladeState state)
Informs that the state of a host has changed. |
void |
setDefinitions(java.util.Map definitions)
|
void |
waitEndOfRun(java.lang.String[] selBladesId)
Test if these blades are Running or not. |
boolean |
waitForState(java.lang.String[] selBladesId,
BladeState state)
Wait until a target state is reached. |
void |
waitStationaryState(java.lang.String[] selBladesId)
Test if these blades are stationary or not. |
Field Detail |
---|
static final java.lang.String SUPERVISOR_INFO
Method Detail |
---|
void setBladeState(java.lang.String id, BladeState state)
id
- the scenario globally unique identifier objectstate
- The new state of the scenariovoid setDefinitions(java.util.Map definitions)
java.util.Map getDefinitions()
void alarm(java.lang.String id, AlarmEvent alarm)
id
- blade identifier of the event sourcealarm
- alarm eventBladeState getGlobalState(java.lang.String[] selBladesId)
selBladesId
- blades of interest's identifiers, or null for every blade
void waitStationaryState(java.lang.String[] selBladesId) throws java.lang.InterruptedException
selBladesId
- blades of interest's identifiers, or null for every blade
java.lang.InterruptedException
void waitEndOfRun(java.lang.String[] selBladesId) throws java.lang.InterruptedException
selBladesId
- blades of interest's identifiers, or null for every blade
java.lang.InterruptedException
boolean waitForState(java.lang.String[] selBladesId, BladeState state) throws java.lang.InterruptedException
selBladesId
- blades of interest's identifiers, or null for every bladestate
- target state to wait for
java.lang.InterruptedException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |