亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來(lái)到蟲(chóng)蟲(chóng)下載站! | ?? 資源下載 ?? 資源專(zhuān)輯 ?? 關(guān)于我們
? 蟲(chóng)蟲(chóng)下載站

?? stdscheduler.java

?? Java中非常實(shí)用流控制工具
?? JAVA
?? 第 1 頁(yè) / 共 2 頁(yè)
字號(hào):
/* 
 * Copyright 2004-2005 OpenSymphony 
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not 
 * use this file except in compliance with the License. You may obtain a copy 
 * of the License at 
 * 
 *   http://www.apache.org/licenses/LICENSE-2.0 
 *   
 * Unless required by applicable law or agreed to in writing, software 
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 
 * License for the specific language governing permissions and limitations 
 * under the License.
 * 
 */

/*
 * Previously Copyright (c) 2001-2004 James House
 */
package org.quartz.impl;

import java.util.Date;
import java.util.List;
import java.util.Set;

import org.quartz.Calendar;
import org.quartz.JobDataMap;
import org.quartz.JobDetail;
import org.quartz.JobListener;
import org.quartz.Scheduler;
import org.quartz.SchedulerContext;
import org.quartz.SchedulerException;
import org.quartz.SchedulerListener;
import org.quartz.SchedulerMetaData;
import org.quartz.Trigger;
import org.quartz.TriggerListener;
import org.quartz.UnableToInterruptJobException;
import org.quartz.core.QuartzScheduler;
import org.quartz.core.SchedulingContext;
import org.quartz.spi.JobFactory;

/**
 * <p>
 * An implementation of the <code>Scheduler</code> interface that directly
 * proxies all method calls to the equivalent call on a given <code>QuartzScheduler</code>
 * instance.
 * </p>
 * 
 * @see org.quartz.Scheduler
 * @see org.quartz.core.QuartzScheduler
 * @see org.quartz.core.SchedulingContext
 * 
 * @author James House
 */
public class StdScheduler implements Scheduler {

    /*
     * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     * 
     * Data members.
     * 
     * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     */

    private QuartzScheduler sched;

    private SchedulingContext schedCtxt;

    /*
     * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     * 
     * Constructors.
     * 
     * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     */

    /**
     * <p>
     * Construct a <code>StdScheduler</code> instance to proxy the given
     * <code>QuartzScheduler</code> instance, and with the given <code>SchedulingContext</code>.
     * </p>
     */
    public StdScheduler(QuartzScheduler sched, SchedulingContext schedCtxt) {
        this.sched = sched;
        this.schedCtxt = schedCtxt;
    }

    /*
     * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     * 
     * Interface.
     * 
     * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     */

    /**
     * <p>
     * Returns the name of the <code>Scheduler</code>.
     * </p>
     */
    public String getSchedulerName() {
        return sched.getSchedulerName();
    }

    /**
     * <p>
     * Returns the instance Id of the <code>Scheduler</code>.
     * </p>
     */
    public String getSchedulerInstanceId() {
        return sched.getSchedulerInstanceId();
    }

    public SchedulerMetaData getMetaData() {
        return new SchedulerMetaData(getSchedulerName(),
                getSchedulerInstanceId(), getClass(), false, isStarted(), 
                isInStandbyMode(), isShutdown(), sched.runningSince(), 
                sched.numJobsExecuted(), sched.getJobStoreClass(), 
                sched.supportsPersistence(), sched.getThreadPoolClass(), 
                sched.getThreadPoolSize(), sched.getVersion());

    }

    /**
     * <p>
     * Returns the <code>SchedulerContext</code> of the <code>Scheduler</code>.
     * </p>
     */
    public SchedulerContext getContext() throws SchedulerException {
        return sched.getSchedulerContext();
    }

    ///////////////////////////////////////////////////////////////////////////
    ///
    /// Schedululer State Management Methods
    ///
    ///////////////////////////////////////////////////////////////////////////

    /**
     * <p>
     * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>.
     * </p>
     */
    public void start() throws SchedulerException {
        sched.start();
    }

    /**
     * <p>
     * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>.
     * </p>
     */
    public void startDelayed(int seconds) throws SchedulerException {
        sched.startDelayed(seconds);
    }


    /**
     * <p>
     * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>.
     * </p>
     * 
     * @deprecated
     * @see #standby()
     */
    public void pause() {
        this.standby();
    }
    
    /**
     * <p>
     * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>.
     * </p>
     */
    public void standby() {
        sched.standby();
    }
    
    /**
     * Whether the scheduler has been started.  
     * 
     * <p>
     * Note: This only reflects whether <code>{@link #start()}</code> has ever
     * been called on this Scheduler, so it will return <code>true</code> even 
     * if the <code>Scheduler</code> is currently in standby mode or has been 
     * since shutdown.
     * </p>
     * 
     * @see #start()
     * @see #isShutdown()
     * @see #isInStandbyMode()
     */    
    public boolean isStarted() {
        return (sched.runningSince() != null);
    }
    
    /**
     * <p>
     * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>.
     * </p>
     */
    public boolean isInStandbyMode() {
        return sched.isInStandbyMode();
    }

    /**
     * @deprecated
     */
    public boolean isPaused() {
        return isInStandbyMode();
    }

    /**
     * <p>
     * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>.
     * </p>
     */
    public void shutdown() {
        sched.shutdown();
    }

    /**
     * <p>
     * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>.
     * </p>
     */
    public void shutdown(boolean waitForJobsToComplete) {
        sched.shutdown(waitForJobsToComplete);
    }

    /**
     * <p>
     * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>.
     * </p>
     */
    public boolean isShutdown() {
        return sched.isShutdown();
    }

    /**
     * <p>
     * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>.
     * </p>
     */
    public List getCurrentlyExecutingJobs() {
        return sched.getCurrentlyExecutingJobs();
    }

    ///////////////////////////////////////////////////////////////////////////
    ///
    /// Scheduling-related Methods
    ///
    ///////////////////////////////////////////////////////////////////////////

    /**
     * <p>
     * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>,
     * passing the <code>SchedulingContext</code> associated with this
     * instance.
     * </p>
     */
    public Date scheduleJob(JobDetail jobDetail, Trigger trigger)
        throws SchedulerException {
        return sched.scheduleJob(schedCtxt, jobDetail, trigger);
    }

    /**
     * <p>
     * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>,
     * passing the <code>SchedulingContext</code> associated with this
     * instance.
     * </p>
     */
    public Date scheduleJob(Trigger trigger) throws SchedulerException {
        return sched.scheduleJob(schedCtxt, trigger);
    }

    /**
     * <p>
     * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>,
     * passing the <code>SchedulingContext</code> associated with this
     * instance.
     * </p>
     */
    public void addJob(JobDetail jobDetail, boolean replace)
        throws SchedulerException {
        sched.addJob(schedCtxt, jobDetail, replace);
    }

    /**
     * <p>
     * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>,
     * passing the <code>SchedulingContext</code> associated with this
     * instance.
     * </p>
     */
    public boolean deleteJob(String jobName, String groupName)
        throws SchedulerException {
        return sched.deleteJob(schedCtxt, jobName, groupName);
    }

    /**
     * <p>
     * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>,
     * passing the <code>SchedulingContext</code> associated with this
     * instance.
     * </p>
     */
    public boolean unscheduleJob(String triggerName, String groupName)
        throws SchedulerException {
        return sched.unscheduleJob(schedCtxt, triggerName, groupName);
    }
    
    /**
     * <p>
     * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>,
     * passing the <code>SchedulingContext</code> associated with this
     * instance.
     * </p>
     */
    public Date rescheduleJob(String triggerName,
            String groupName, Trigger newTrigger) throws SchedulerException {
        return sched.rescheduleJob(schedCtxt, triggerName, groupName, newTrigger);
    }

    /**
     * <p>
     * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>,
     * passing the <code>SchedulingContext</code> associated with this
     * instance.
     * </p>
     */
    public void triggerJob(String jobName, String groupName)
        throws SchedulerException {
        triggerJob(jobName, groupName, null);
    }
    
    /**
     * <p>
     * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>,
     * passing the <code>SchedulingContext</code> associated with this
     * instance.
     * </p>
     */
    public void triggerJob(String jobName, String groupName, JobDataMap data)
        throws SchedulerException {
        sched.triggerJob(schedCtxt, jobName, groupName, data);
    }

    /**
     * <p>
     * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>,
     * passing the <code>SchedulingContext</code> associated with this
     * instance.
     * </p>
     */
    public void triggerJobWithVolatileTrigger(String jobName, String groupName)
        throws SchedulerException {
        triggerJobWithVolatileTrigger(jobName, groupName, null);
    }

    /**
     * <p>
     * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>,
     * passing the <code>SchedulingContext</code> associated with this
     * instance.
     * </p>
     */
    public void triggerJobWithVolatileTrigger(String jobName, String groupName, JobDataMap data)
        throws SchedulerException {
        sched.triggerJobWithVolatileTrigger(schedCtxt, jobName, groupName, data);
    }

    /**
     * <p>
     * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>,
     * passing the <code>SchedulingContext</code> associated with this
     * instance.
     * </p>
     */
    public void pauseTrigger(String triggerName, String groupName)
        throws SchedulerException {
        sched.pauseTrigger(schedCtxt, triggerName, groupName);
    }

    /**
     * <p>
     * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>,
     * passing the <code>SchedulingContext</code> associated with this
     * instance.
     * </p>
     */
    public void pauseTriggerGroup(String groupName) throws SchedulerException {
        sched.pauseTriggerGroup(schedCtxt, groupName);
    }

    /**
     * <p>
     * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>,
     * passing the <code>SchedulingContext</code> associated with this
     * instance.
     * </p>
     */
    public void pauseJob(String jobName, String groupName)
        throws SchedulerException {
        sched.pauseJob(schedCtxt, jobName, groupName);
    }

    /** 
     * @see org.quartz.Scheduler#getPausedTriggerGroups()
     */
    public Set getPausedTriggerGroups() throws SchedulerException {
        return sched.getPausedTriggerGroups(schedCtxt);
    }
    
    /**
     * <p>
     * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>,
     * passing the <code>SchedulingContext</code> associated with this
     * instance.
     * </p>
     */

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产露脸91国语对白| 91久久精品一区二区二区| 风间由美一区二区三区在线观看| 91精品国产综合久久小美女| 精品噜噜噜噜久久久久久久久试看| 国产91精品免费| www.一区二区| 国产精品伊人色| 久久精品国产精品亚洲综合| 成人黄页在线观看| 欧美一区二区三区爱爱| 亚洲视频在线一区| 亚洲综合图片区| 成人黄色大片在线观看| 日韩欧美国产一区在线观看| 亚洲免费成人av| 亚洲风情在线资源站| 91在线视频网址| 久久久99精品久久| 精品在线亚洲视频| 成人小视频免费观看| 4438x成人网最大色成网站| 91麻豆精品国产91久久久使用方法| 福利电影一区二区三区| 白白色 亚洲乱淫| 国产午夜精品福利| 激情偷乱视频一区二区三区| 欧美高清性hdvideosex| 亚洲国产人成综合网站| 在线视频欧美区| 日韩一区二区三区视频在线 | 美女被吸乳得到大胸91| 国产真实乱偷精品视频免| 欧美成人性福生活免费看| 中文字幕一区日韩精品欧美| 丁香啪啪综合成人亚洲小说| 欧美日韩高清一区二区三区| 亚洲欧美日韩在线不卡| 91影视在线播放| 亚洲欧美一区二区三区国产精品| 国产精品国产三级国产a| 国产精品一区一区三区| 日韩欧美在线网站| 免费美女久久99| 欧美大白屁股肥臀xxxxxx| 亚洲色图在线视频| 国内精品伊人久久久久av一坑 | 日韩亚洲欧美中文三级| 亚洲成av人在线观看| 91.xcao| 亚洲欧洲在线观看av| 91免费看片在线观看| 亚洲午夜久久久久久久久电影网 | 久久精品av麻豆的观看方式| 91美女片黄在线| 欧美激情在线一区二区三区| www.性欧美| 日韩成人一级大片| 99re这里都是精品| 亚洲国产日日夜夜| 在线播放亚洲一区| 美女在线视频一区| 色香蕉久久蜜桃| 亚洲成人av电影| 日韩一区二区在线看| 韩国三级在线一区| 粉嫩aⅴ一区二区三区四区五区 | 国产综合色视频| 国产日韩av一区| 91网上在线视频| 国产欧美一区二区精品秋霞影院 | 国产亚洲自拍一区| 不卡视频一二三四| 久久久不卡网国产精品一区| 丰满放荡岳乱妇91ww| 亚洲在线视频免费观看| 欧美一级生活片| 日本女人一区二区三区| 国产亚洲精品资源在线26u| 毛片av一区二区| 中文字幕视频一区| 色综合天天视频在线观看| 天天综合色天天| 91蜜桃视频在线| 久久精品99国产精品| 欧美日本免费一区二区三区| 美女被吸乳得到大胸91| 日韩午夜av电影| www.日韩大片| 国产精品午夜久久| 成人动漫av在线| 久久成人羞羞网站| 久久久久久久av麻豆果冻| 91精彩视频在线| 亚洲成国产人片在线观看| 99精品视频免费在线观看| 日本不卡中文字幕| 亚洲男同性恋视频| 欧美日韩视频在线观看一区二区三区| 国产日韩欧美不卡在线| 日韩精品一区二区三区swag| 欧美最新大片在线看| 国产精品 欧美精品| 亚洲国产精品传媒在线观看| 97se亚洲国产综合自在线| 国产一区二区电影| 麻豆91在线播放免费| 午夜欧美电影在线观看| 综合久久国产九一剧情麻豆| 国产日产欧美一区二区视频| 欧美精品一区男女天堂| 成人精品视频一区二区三区| 国产成人在线看| 亚洲免费观看高清| 国产精品美女久久福利网站| 久久97超碰国产精品超碰| 欧美日韩你懂得| 日韩国产成人精品| 久久你懂得1024| 欧美sm美女调教| 日韩免费看的电影| 777奇米四色成人影色区| 国产aⅴ综合色| 国产一二精品视频| 国内一区二区视频| 国产精品一区二区黑丝| 狠狠色狠狠色综合系列| 亚洲三级理论片| 日韩欧美精品在线| 色婷婷亚洲精品| 欧洲另类一二三四区| 国产一区视频导航| 狠狠色丁香久久婷婷综合丁香| 中文字幕一区二区三区蜜月| 国产农村妇女精品| 日韩三级中文字幕| 欧美中文字幕不卡| 国产91丝袜在线播放0| 天天综合日日夜夜精品| 青青国产91久久久久久| 精品在线一区二区| 三级在线观看一区二区| 日本美女一区二区| 国产一区二区三区四区五区美女| 久久久精品tv| 亚洲三级免费电影| 亚洲一区影音先锋| 国产欧美日韩麻豆91| 欧美三级电影网站| 成+人+亚洲+综合天堂| 久久精品国产免费| 偷拍一区二区三区| 国产精品99久| 成人国产在线观看| 欧美亚洲愉拍一区二区| 国产91丝袜在线播放| 91免费国产在线观看| 欧美亚洲高清一区| 91精品国产综合久久婷婷香蕉| 97久久超碰国产精品| 欧美日韩激情一区| 国产亚洲欧美一区在线观看| 日韩精品一区二区三区swag | 亚洲一区视频在线观看视频| 亚洲国产精品久久久久婷婷884| 久久久久久久久久久久电影| 国产精品你懂的在线| 久久久久综合网| 欧美一区二区三区四区久久| 欧美主播一区二区三区美女| 色94色欧美sute亚洲线路二 | 国产美女久久久久| 久久精品99久久久| 一本色道综合亚洲| 精品国产亚洲在线| 亚洲一区二区在线免费观看视频| 国产精品久久久一本精品 | 韩国精品在线观看| 色哟哟精品一区| 精品噜噜噜噜久久久久久久久试看| 欧美群妇大交群的观看方式| 欧美探花视频资源| 亚洲国产精华液网站w| 国产精品网站一区| 免费的成人av| 欧美视频在线一区| 91精品国产品国语在线不卡| 亚洲视频一区二区在线观看| 麻豆精品一二三| 在线精品视频小说1| 久久精品亚洲精品国产欧美kt∨ | 久久综合久色欧美综合狠狠| 日韩久久一区二区| 精品一区二区在线看| 国产综合色产在线精品| 欧美视频一区二| 中文字幕五月欧美| 成人app在线| 欧美tickling挠脚心丨vk| 日韩精品一区第一页|