public class ShutdownTask extends Object implements ConsumerTask
Constructor and Description |
---|
ShutdownTask() |
Modifier and Type | Method and Description |
---|---|
TaskResult |
call()
Perform task logic.
|
ShutdownReason |
getReason() |
TaskType |
taskType() |
public TaskResult call()
ConsumerTask
call
in interface Callable<TaskResult>
call
in interface ConsumerTask
public TaskType taskType()
taskType
in interface ConsumerTask
public ShutdownReason getReason()
Copyright © 2021. All rights reserved.