Package com.sos.scheduler.engine.kernel

Examples of com.sos.scheduler.engine.kernel.Scheduler


        }
    }


    Scheduler waitWhileSchedulerIsStarting() throws InterruptedException {
        Scheduler result = null;
        synchronized (schedulerAtomLock) {
            while (state == SchedulerState.starting)
                schedulerAtomLock.wait();
            result = schedulerAtom.get();
        }
View Full Code Here


        return result;
    }


    void terminate() {
        Scheduler scheduler = null;
        synchronized (schedulerAtomLock) {
            scheduler = schedulerAtom.get();
            if (scheduler == nullterminateSchedulerWhenPossible = true;
        }
        if (scheduler != nullscheduler.terminate();
    }
View Full Code Here

    }


    @Override public final Scheduler waitUntilSchedulerIsRunning() {
        try {
            Scheduler result = coOp.waitWhileSchedulerIsStarting();
            throwableMailbox.throwUncheckedIfSet();
            if (result == null) {
                throw new SchedulerException("Scheduler aborted before startup");
            }
            return result;
View Full Code Here

TOP

Related Classes of com.sos.scheduler.engine.kernel.Scheduler

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.