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