public class ShortJob extends DummyAction
actionCount, actionGroup, category, description, msg, name, previousStatus, repeatPeriod, site, statusText, tolerance, type, uri
Constructor and Description |
---|
ShortJob(java.util.Map props) |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.Object> |
checkpoint()
returns the checkpoint Map for the action
|
Event |
performAction(int status,
long currentTime,
java.util.Map<java.lang.String,java.lang.Object> latest)
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> chkpt)
restores the state of the action from the checkpoint Map
|
getName
public Event performAction(int status, long currentTime, java.util.Map<java.lang.String,java.lang.Object> latest)
MonitorAction
performAction
in interface MonitorAction
performAction
in class DummyAction
public java.util.Map<java.lang.String,java.lang.Object> checkpoint()
MonitorAction
checkpoint
in interface MonitorAction
checkpoint
in class DummyAction
public void restoreFromCheckpoint(java.util.Map<java.lang.String,java.lang.Object> chkpt)
MonitorAction
restoreFromCheckpoint
in interface MonitorAction
restoreFromCheckpoint
in class DummyAction