public final class WatcherTestTask extends Object implements Task, TaskMessageSource
Modifier and Type | Class and Description |
---|---|
class |
WatcherTestTask.TaskSuspendedHandler
Handler for SuspendEvent.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
call(byte[] memento)
Called by the resourcemanager harness to execute the task.
|
Optional<TaskMessage> |
getMessage() |
public byte[] call(byte[] memento) throws Exception
Task
public Optional<TaskMessage> getMessage()
getMessage
in interface TaskMessageSource
Copyright © 2017 The Apache Software Foundation. All rights reserved.