@Service
public class ServerInvokeService
extends cn.ponfee.disjob.common.base.SingletonClassConstraint
| 构造器和说明 |
|---|
ServerInvokeService(WorkerClient workerClient,
Registry<cn.ponfee.disjob.core.base.Supervisor> supervisorRegistry,
cn.ponfee.disjob.core.base.Supervisor.Local localSupervisor,
ExtendedSupervisorRpcService localSupervisorRpcProvider,
org.springframework.boot.autoconfigure.web.ServerProperties serverProperties,
org.springframework.web.client.RestTemplate restTemplate) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
configureAllWorker(ConfigureAllWorkerRequest req) |
void |
configureOneWorker(ConfigureOneWorkerRequest req) |
void |
publishOperationEvent(OperationEventType eventType,
String data) |
List<SupervisorMetricsResponse> |
supervisors() |
WorkerMetricsResponse |
worker(String group,
String worker) |
List<WorkerMetricsResponse> |
workers(String group) |
public ServerInvokeService(WorkerClient workerClient, Registry<cn.ponfee.disjob.core.base.Supervisor> supervisorRegistry, cn.ponfee.disjob.core.base.Supervisor.Local localSupervisor, ExtendedSupervisorRpcService localSupervisorRpcProvider, org.springframework.boot.autoconfigure.web.ServerProperties serverProperties, @Qualifier(value="disjob.bean.rest-template") org.springframework.web.client.RestTemplate restTemplate)
public List<SupervisorMetricsResponse> supervisors()
public List<WorkerMetricsResponse> workers(String group)
public WorkerMetricsResponse worker(String group, String worker)
public void configureOneWorker(ConfigureOneWorkerRequest req)
public void configureAllWorker(ConfigureAllWorkerRequest req)
public void publishOperationEvent(OperationEventType eventType, String data)
Copyright © 2025. All rights reserved.