public class SupervisorLifecycle extends Object implements org.springframework.context.SmartLifecycle
| 构造器和说明 |
|---|
SupervisorLifecycle(cn.ponfee.disjob.core.base.Supervisor.Current currentSupervisor,
SupervisorProperties supervisorProperties,
SupervisorRegistry supervisorRegistry,
DistributedJobManager distributedJobManager,
DistributedJobQuerier distributedJobQuerier,
cn.ponfee.disjob.common.lock.DoInLocked scanTriggeringJobLocker,
cn.ponfee.disjob.common.lock.DoInLocked scanWaitingInstanceLocker,
cn.ponfee.disjob.common.lock.DoInLocked scanRunningInstanceLocker,
TaskDispatcher taskDispatcher) |
public SupervisorLifecycle(cn.ponfee.disjob.core.base.Supervisor.Current currentSupervisor,
SupervisorProperties supervisorProperties,
SupervisorRegistry supervisorRegistry,
DistributedJobManager distributedJobManager,
DistributedJobQuerier distributedJobQuerier,
@Qualifier(value="scan-triggering-job-locker")
cn.ponfee.disjob.common.lock.DoInLocked scanTriggeringJobLocker,
@Qualifier(value="scan-waiting-instance-locker")
cn.ponfee.disjob.common.lock.DoInLocked scanWaitingInstanceLocker,
@Qualifier(value="scan-running-instance-locker")
cn.ponfee.disjob.common.lock.DoInLocked scanRunningInstanceLocker,
TaskDispatcher taskDispatcher)
public boolean isRunning()
isRunning 在接口中 org.springframework.context.Lifecyclepublic void start()
start 在接口中 org.springframework.context.Lifecyclepublic void stop(Runnable callback)
stop 在接口中 org.springframework.context.SmartLifecyclepublic void stop()
stop 在接口中 org.springframework.context.Lifecyclepublic int getPhase()
getPhase 在接口中 org.springframework.context.PhasedgetPhase 在接口中 org.springframework.context.SmartLifecycleCopyright © 2024. All rights reserved.