public interface MonitorAction
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.Object> |
checkpoint()
returns the checkpoint Map for the action
|
java.lang.String |
getName()
returns the name of the action
|
Event |
performAction(int status,
long currentTime,
java.util.Map<java.lang.String,java.lang.Object> report)
examines the report on the monitored entity and reacts to it as an action
|
void |
restoreFromCheckpoint(java.util.Map<java.lang.String,java.lang.Object> checkpointer)
restores the state of the action from the checkpoint Map
|
Event performAction(int status, long currentTime, java.util.Map<java.lang.String,java.lang.Object> report)
java.lang.String getName()
java.util.Map<java.lang.String,java.lang.Object> checkpoint()
void restoreFromCheckpoint(java.util.Map<java.lang.String,java.lang.Object> checkpointer)