@Service
public class ServerInvokeService
extends cn.ponfee.disjob.common.base.SingletonClassConstraint
| 构造器和说明 |
|---|
ServerInvokeService(String contextPath,
SupervisorRegistry supervisorRegistry,
cn.ponfee.disjob.core.base.Supervisor.Current currentSupervisor,
cn.ponfee.disjob.core.base.SupervisorRpcService supervisorProvider,
cn.ponfee.disjob.core.base.HttpProperties http,
cn.ponfee.disjob.core.base.WorkerRpcService workerProvider,
com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
configureAllWorker(ConfigureAllWorkerRequest req) |
void |
configureOneWorker(ConfigureOneWorkerRequest req) |
void |
publishOtherSupervisors(cn.ponfee.disjob.core.param.supervisor.EventParam eventParam) |
List<SupervisorMetricsResponse> |
supervisors() |
List<WorkerMetricsResponse> |
workers(String group,
String worker) |
public ServerInvokeService(@Value(value="${server.servlet.context-path:/}")
String contextPath,
SupervisorRegistry supervisorRegistry,
cn.ponfee.disjob.core.base.Supervisor.Current currentSupervisor,
cn.ponfee.disjob.core.base.SupervisorRpcService supervisorProvider,
cn.ponfee.disjob.core.base.HttpProperties http,
@Nullable
cn.ponfee.disjob.core.base.WorkerRpcService workerProvider,
@Nullable
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
public List<SupervisorMetricsResponse> supervisors() throws Exception
Exceptionpublic List<WorkerMetricsResponse> workers(String group, String worker)
public void configureOneWorker(ConfigureOneWorkerRequest req)
public void configureAllWorker(ConfigureAllWorkerRequest req)
public void publishOtherSupervisors(cn.ponfee.disjob.core.param.supervisor.EventParam eventParam)
Copyright © 2024. All rights reserved.