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)
Task
public void onNext(CloseEvent event) throws SimulatedTaskFailure
EventHandler
onNext
in interface EventHandler<CloseEvent>
event
- an eventSimulatedTaskFailure
Copyright © 2017 The Apache Software Foundation. All rights reserved.