use of com.dangdang.ddframe.job.cloud.scheduler.mesos.SchedulerService in project elastic-job by dangdangdotcom.
the class SchedulerElectionCandidate method startLeadership.
@Override
public void startLeadership() throws Exception {
try {
schedulerService = new SchedulerService(regCenter);
schedulerService.start();
//CHECKSTYLE:OFF
} catch (final Throwable throwable) {
throw new JobSystemException(throwable);
}
}
Aggregations