use of com.hazelcast.jet.impl.JobCoordinationService in project hazelcast-jet by hazelcast.
the class GetJobIdsByNameOperation method run.
@Override
public void run() throws Exception {
JetService service = getService();
JobCoordinationService coordinationService = service.getJobCoordinationService();
response = coordinationService.getJobIds(name);
}
use of com.hazelcast.jet.impl.JobCoordinationService in project hazelcast-jet by hazelcast.
the class GetJobIdsOperation method run.
@Override
public void run() throws Exception {
JetService service = getService();
JobCoordinationService coordinationService = service.getJobCoordinationService();
response = coordinationService.getAllJobIds();
}
use of com.hazelcast.jet.impl.JobCoordinationService in project hazelcast-jet by hazelcast.
the class CancelJobOperation method run.
@Override
public void run() throws Exception {
JetService service = getService();
JobCoordinationService coordinationService = service.getJobCoordinationService();
coordinationService.cancelJob(jobId());
}
use of com.hazelcast.jet.impl.JobCoordinationService in project hazelcast-jet by hazelcast.
the class JoinSubmittedJobOperation method doRun.
@Override
protected void doRun() {
JetService service = getService();
JobCoordinationService coordinationService = service.getJobCoordinationService();
CompletableFuture<Void> executionFuture = coordinationService.joinSubmittedJob(jobId());
executionFuture.whenComplete(withTryCatch(getLogger(), (r, t) -> doSendResponse(peel(t))));
}
use of com.hazelcast.jet.impl.JobCoordinationService in project hazelcast-jet by hazelcast.
the class SubmitJobOperation method run.
@Override
public void run() {
JetService service = getService();
JobCoordinationService coordinationService = service.getJobCoordinationService();
coordinationService.submitOrJoinJob(jobId(), dag, config);
}
Aggregations