Package org.apache.sling.event.impl.jobs.config

Examples of org.apache.sling.event.impl.jobs.config.JobManagerConfiguration


        if ( !active ) {
            this.active = false;
            this.stopScheduling();
        } else {
            final boolean previouslyActive = this.active;
            final JobManagerConfiguration config = this.configuration;
            if ( config != null ) {
                this.active = config.getTopologyCapabilities().isLeader();
                if ( this.active && !previouslyActive ) {
                    this.startScheduling();
                }
                if ( !this.active && previouslyActive ) {
                    this.stopScheduling();
View Full Code Here


            for(final AbstractJobQueue queue : queues ) {
                this.outdateQueue(queue);
            }
        }
        // check if we're still active
        final JobManagerConfiguration config = this.configuration;
        if ( config != null ) {
            final List<Job> rescheduleList = this.configuration.clearJobRetryList();
            for(final Job j : rescheduleList) {
                final JobHandler jh = new JobHandler((JobImpl)j, this.configuration);
                jh.reschedule();
View Full Code Here

TOP

Related Classes of org.apache.sling.event.impl.jobs.config.JobManagerConfiguration

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.