public final class FailTaskSuspend extends Object implements Task, EventHandler<SuspendEvent>
| Constructor and Description | 
|---|
FailTaskSuspend()  | 
| Modifier and Type | Method and Description | 
|---|---|
byte[] | 
call(byte[] memento)
Called by the resourcemanager harness to execute the task. 
 | 
void | 
onNext(SuspendEvent event)
Handles an event 
 | 
@Inject public FailTaskSuspend()
public byte[] call(byte[] memento)
Taskpublic void onNext(SuspendEvent event) throws SimulatedTaskFailure
EventHandleronNext in interface EventHandler<SuspendEvent>event - an eventSimulatedTaskFailureCopyright © 2015 The Apache Software Foundation. All rights reserved.