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