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