public interface Worker
| 限定符和类型 | 接口和说明 |
|---|---|
static class |
Worker.State |
| 限定符和类型 | 方法和说明 |
|---|---|
reactor.core.publisher.Mono<Task> |
createTask(String schedulerId,
ScheduleJob job)
创建一个Task
|
String |
getId() |
String |
getName() |
reactor.core.publisher.Mono<Worker.State> |
getState() |
reactor.core.publisher.Mono<List<String>> |
getSupportExecutors() |
String getId()
String getName()
reactor.core.publisher.Mono<Task> createTask(String schedulerId, ScheduleJob job)
job - 任务reactor.core.publisher.Mono<Worker.State> getState()
Copyright © 2019–2021. All rights reserved.