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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? driverdelegate.java

?? Java中非常實(shí)用流控制工具
?? JAVA
?? 第 1 頁 / 共 3 頁
字號:
/* 
 * 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.jdbcjobstore;

import java.io.IOException;
import java.sql.Connection;
import java.sql.SQLException;
import java.util.List;
import java.util.Set;

import org.quartz.Calendar;
import org.quartz.CronTrigger;
import org.quartz.JobDataMap;
import org.quartz.JobDetail;
import org.quartz.SimpleTrigger;
import org.quartz.Trigger;
import org.quartz.spi.ClassLoadHelper;
import org.quartz.utils.Key;
import org.quartz.utils.TriggerStatus;

/**
 * <p>
 * This is the base interface for all driver delegate classes.
 * </p>
 * 
 * <p>
 * This interface is very similar to the <code>{@link
 * org.quartz.spi.JobStore}</code>
 * interface except each method has an additional <code>{@link java.sql.Connection}</code>
 * parameter.
 * </p>
 * 
 * <p>
 * Unless a database driver has some <strong>extremely-DB-specific</strong>
 * requirements, any DriverDelegate implementation classes should extend the
 * <code>{@link org.quartz.impl.jdbcjobstore.StdJDBCDelegate}</code> class.
 * </p>
 * 
 * @author <a href="mailto:jeff@binaryfeed.org">Jeffrey Wescott</a>
 * @author James House
 */
interface DriverDelegate {

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

    //---------------------------------------------------------------------------
    // startup / recovery
    //---------------------------------------------------------------------------
    /**
     * <p>
     * Update all triggers having one of the two given states, to the given new
     * state.
     * </p>
     * 
     * @param conn
     *          the DB Connection
     * @param newState
     *          the new state for the triggers
     * @param oldState1
     *          the first old state to update
     * @param oldState2
     *          the second old state to update
     * @return number of rows updated
     */
    int updateTriggerStatesFromOtherStates(Connection conn,
        String newState, String oldState1, String oldState2)
        throws SQLException;

    /**
     * <p>
     * Get the names of all of the triggers that have misfired - according to
     * the given timestamp.
     * </p>
     * 
     * @param conn
     *          the DB Connection
     * @return an array of <code>{@link
     * org.quartz.utils.Key}</code> objects
     */
    Key[] selectMisfiredTriggers(Connection conn, long ts)
        throws SQLException;

    /**
     * <p>
     * Get the names of all of the triggers in the given state that have
     * misfired - according to the given timestamp.
     * </p>
     * 
     * @param conn
     *          the DB Connection
     * @return an array of <code>{@link
     * org.quartz.utils.Key}</code> objects
     */
    Key[] selectMisfiredTriggersInState(Connection conn, String state,
        long ts) throws SQLException;
    
    /**
     * <p>
     * Get the names of all of the triggers in the given states that have
     * misfired - according to the given timestamp.  No more than count will
     * be returned.
     * </p>
     * 
     * @param conn the DB Connection
     * @param count the most misfired triggers to return, negative for all
     * @param resultList Output parameter.  A List of 
     *      <code>{@link org.quartz.utils.Key}</code> objects.  Must not be null.
     *          
     * @return Whether there are more misfired triggers left to find beyond
     *         the given count.
     */
    boolean selectMisfiredTriggersInStates(Connection conn, String state1, String state2,
        long ts, int count, List resultList) throws SQLException;
    
    /**
     * <p>
     * Get the number of triggers in the given states that have
     * misfired - according to the given timestamp.
     * </p>
     * 
     * @param conn the DB Connection
     */
    int countMisfiredTriggersInStates(
        Connection conn, String state1, String state2, long ts) throws SQLException;

    /**
     * <p>
     * Get the names of all of the triggers in the given group and state that
     * have misfired - according to the given timestamp.
     * </p>
     * 
     * @param conn
     *          the DB Connection
     * @return an array of <code>{@link
     * org.quartz.utils.Key}</code> objects
     */
    Key[] selectMisfiredTriggersInGroupInState(Connection conn,
        String groupName, String state, long ts) throws SQLException;
    

    /**
     * <p>
     * Select all of the triggers for jobs that are requesting recovery. The
     * returned trigger objects will have unique "recoverXXX" trigger names and
     * will be in the <code>{@link
     * org.quartz.Scheduler}.DEFAULT_RECOVERY_GROUP</code>
     * trigger group.
     * </p>
     * 
     * <p>
     * In order to preserve the ordering of the triggers, the fire time will be
     * set from the <code>COL_FIRED_TIME</code> column in the <code>TABLE_FIRED_TRIGGERS</code>
     * table. The caller is responsible for calling <code>computeFirstFireTime</code>
     * on each returned trigger. It is also up to the caller to insert the
     * returned triggers to ensure that they are fired.
     * </p>
     * 
     * @param conn
     *          the DB Connection
     * @return an array of <code>{@link org.quartz.Trigger}</code> objects
     */
    Trigger[] selectTriggersForRecoveringJobs(Connection conn)
        throws SQLException, IOException, ClassNotFoundException;

    /**
     * <p>
     * Delete all fired triggers.
     * </p>
     * 
     * @param conn
     *          the DB Connection
     * @return the number of rows deleted
     */
    int deleteFiredTriggers(Connection conn) throws SQLException;

    /**
     * <p>
     * Delete all fired triggers of the given instance.
     * </p>
     * 
     * @param conn
     *          the DB Connection
     * @return the number of rows deleted
     */
    int deleteFiredTriggers(Connection conn, String instanceId)
        throws SQLException;

    /**
     * <p>
     * Delete all volatile fired triggers.
     * </p>
     * 
     * @param conn
     *          the DB Connection
     * @return the number of rows deleted
     */
    int deleteVolatileFiredTriggers(Connection conn) throws SQLException;

    /**
     * <p>
     * Get the names of all of the triggers that are volatile.
     * </p>
     * 
     * @param conn
     *          the DB Connection
     * @return an array of <code>{@link
     * org.quartz.utils.Key}</code> objects
     */
    Key[] selectVolatileTriggers(Connection conn) throws SQLException;

    /**
     * <p>
     * Get the names of all of the jobs that are volatile.
     * </p>
     * 
     * @param conn
     *          the DB Connection
     * @return an array of <code>{@link
     * org.quartz.utils.Key}</code> objects
     */
    Key[] selectVolatileJobs(Connection conn) throws SQLException;

    //---------------------------------------------------------------------------
    // jobs
    //---------------------------------------------------------------------------

    /**
     * <p>
     * Insert the job detail record.
     * </p>
     * 
     * @param conn
     *          the DB Connection
     * @param job
     *          the job to insert
     * @return number of rows inserted
     * @throws IOException
     *           if there were problems serializing the JobDataMap
     */
    int insertJobDetail(Connection conn, JobDetail job)
        throws IOException, SQLException;

    /**
     * <p>
     * Update the job detail record.
     * </p>
     * 
     * @param conn
     *          the DB Connection
     * @param job
     *          the job to update
     * @return number of rows updated
     * @throws IOException
     *           if there were problems serializing the JobDataMap
     */
    int updateJobDetail(Connection conn, JobDetail job)
        throws IOException, SQLException;

    /**
     * <p>
     * Get the names of all of the triggers associated with the given job.
     * </p>
     * 
     * @param conn
     *          the DB Connection
     * @param jobName
     *          the job name
     * @param groupName
     *          the job group
     * @return an array of <code>{@link
     * org.quartz.utils.Key}</code> objects
     */
    Key[] selectTriggerNamesForJob(Connection conn, String jobName,
        String groupName) throws SQLException;

    /**
     * <p>
     * Delete all job listeners for the given job.
     * </p>
     * 
     * @param conn
     *          the DB Connection
     * @param jobName
     *          the name of the job
     * @param groupName
     *          the group containing the job
     * @return the number of rows deleted
     */
    int deleteJobListeners(Connection conn, String jobName,
        String groupName) throws SQLException;

    /**
     * <p>
     * Delete the job detail record for the given job.
     * </p>
     * 
     * @param conn
     *          the DB Connection
     * @param jobName
     *          the name of the job
     * @param groupName
     *          the group containing the job
     * @return the number of rows deleted
     */
    int deleteJobDetail(Connection conn, String jobName, String groupName)
        throws SQLException;

    /**
     * <p>
     * Check whether or not the given job is stateful.
     * </p>
     * 
     * @param conn
     *          the DB Connection
     * @param jobName
     *          the name of the job
     * @param groupName
     *          the group containing the job
     * @return true if the job exists and is stateful, false otherwise
     */
    boolean isJobStateful(Connection conn, String jobName,
        String groupName) throws SQLException;

    /**
     * <p>
     * Check whether or not the given job exists.
     * </p>
     * 
     * @param conn
     *          the DB Connection
     * @param jobName
     *          the name of the job
     * @param groupName
     *          the group containing the job
     * @return true if the job exists, false otherwise
     */
    boolean jobExists(Connection conn, String jobName, String groupName)
        throws SQLException;

    /**
     * <p>
     * Update the job data map for the given job.
     * </p>
     * 
     * @param conn
     *          the DB Connection
     * @param job
     *          the job to update
     * @return the number of rows updated
     * @throws IOException
     *           if there were problems serializing the JobDataMap
     */
    int updateJobData(Connection conn, JobDetail job)
        throws IOException, SQLException;

    /**
     * <p>
     * Associate a listener with a job.
     * </p>
     * 
     * @param conn
     *          the DB Connection
     * @param job
     *          the job to associate with the listener
     * @param listener
     *          the listener to insert
     * @return the number of rows inserted
     */
    int insertJobListener(Connection conn, JobDetail job, String listener)
        throws SQLException;

    /**
     * <p>
     * Get all of the listeners for a given job.
     * </p>
     * 
     * @param conn
     *          the DB Connection
     * @param jobName
     *          the job name whose listeners are wanted
     * @param groupName
     *          the group containing the job
     * @return array of <code>String</code> listener names
     */
    String[] selectJobListeners(Connection conn, String jobName,
        String groupName) throws SQLException;

    /**
     * <p>
     * Select the JobDetail object for a given job name / group name.
     * </p>
     * 
     * @param conn
     *          the DB Connection
     * @param jobName
     *          the job name whose listeners are wanted
     * @param groupName
     *          the group containing the job
     * @return the populated JobDetail object
     * @throws ClassNotFoundException
     *           if a class found during deserialization cannot be found or if
     *           the job class could not be found
     * @throws IOException
     *           if deserialization causes an error
     */
    JobDetail selectJobDetail(Connection conn, String jobName,
        String groupName, ClassLoadHelper loadHelper)
        throws ClassNotFoundException, IOException, SQLException;

    /**
     * <p>
     * Select the total number of jobs stored.
     * </p>
     * 
     * @param conn
     *          the DB Connection
     * @return the total number of jobs stored
     */
    int selectNumJobs(Connection conn) throws SQLException;

    /**
     * <p>
     * Select all of the job group names that are stored.
     * </p>
     * 
     * @param conn
     *          the DB Connection
     * @return an array of <code>String</code> group names
     */
    String[] selectJobGroups(Connection conn) throws SQLException;

    /**
     * <p>
     * Select all of the jobs contained in a given group.
     * </p>
     * 
     * @param conn
     *          the DB Connection
     * @param groupName
     *          the group containing the jobs
     * @return an array of <code>String</code> job names
     */
    String[] selectJobsInGroup(Connection conn, String groupName)
        throws SQLException;

    //---------------------------------------------------------------------------
    // triggers
    //---------------------------------------------------------------------------

    /**
     * <p>
     * Insert the base trigger data.
     * </p>
     * 
     * @param conn

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
午夜精品久久久久| 亚洲国产成人tv| 欧美日韩国产片| 国产精品夜夜爽| 一个色综合av| 国产精品无遮挡| 日韩一本二本av| 欧美吞精做爰啪啪高潮| 成人自拍视频在线观看| 一区二区三区91| 国产午夜精品美女毛片视频| 欧美日韩国产高清一区二区 | 中文字幕在线免费不卡| 国产日韩精品一区二区三区| yourporn久久国产精品| 一区二区三区高清| 色www精品视频在线观看| 亚洲综合视频在线观看| 欧美视频日韩视频在线观看| 天堂va蜜桃一区二区三区漫画版| 日韩免费福利电影在线观看| 国产美女视频91| 亚洲欧洲日韩女同| 成人激情文学综合网| 日日夜夜免费精品| 一区二区在线看| 自拍偷拍国产精品| 中文字幕在线不卡国产视频| 国产女人aaa级久久久级| 久久老女人爱爱| 欧美xxxxxxxx| 精品国产区一区| 日韩欧美的一区| 精品裸体舞一区二区三区| 欧美精品一二三四| 555夜色666亚洲国产免| 宅男噜噜噜66一区二区66| 欧美日本一道本在线视频| 在线中文字幕一区| 91久久精品一区二区| 在线观看免费成人| 在线观看日韩高清av| 在线免费视频一区二区| 欧美视频一区二区| 欧美老肥妇做.爰bbww| 欧美精品高清视频| 欧美一级理论片| 日韩欧美二区三区| 国产喂奶挤奶一区二区三区| 日本一区二区三区dvd视频在线| 国产精品欧美综合在线| 国产精品你懂的| 亚洲欧美激情一区二区| 一区二区成人在线视频| 午夜精品一区在线观看| 天堂成人免费av电影一区| 免费成人深夜小野草| 国模娜娜一区二区三区| 国产黄色91视频| 99免费精品视频| 欧美影院一区二区三区| 欧美一区二区高清| 久久九九久久九九| 有码一区二区三区| 色综合中文字幕国产| 国产乱人伦精品一区二区在线观看| 成人在线综合网| 国产在线播放一区三区四| 美女网站在线免费欧美精品| 五月天一区二区三区| 亚洲一区国产视频| 男人操女人的视频在线观看欧美 | 婷婷六月综合网| 国产麻豆精品视频| 精品综合免费视频观看| 国产精品18久久久久| 99久久精品一区| 在线播放中文一区| www成人在线观看| 最好看的中文字幕久久| 午夜欧美在线一二页| 国产精品一二三四五| 欧美午夜视频网站| 久久久久久一二三区| 一卡二卡三卡日韩欧美| 国产另类ts人妖一区二区| 91成人免费在线视频| 久久久噜噜噜久久中文字幕色伊伊| 亚洲欧美日韩在线| 国产一区二区三区精品欧美日韩一区二区三区 | thepron国产精品| 欧美精品久久久久久久多人混战| 久久久99精品免费观看不卡| 天天综合天天综合色| 成人免费视频caoporn| 日韩欧美在线123| 一区二区三区在线高清| 国产精品18久久久| 日韩亚洲欧美一区| 亚洲一区二区三区美女| 成人毛片老司机大片| 日韩女优视频免费观看| 一区二区在线免费| 成人av电影观看| 精品国产免费久久| 日韩精品久久理论片| 在线观看欧美日本| 中文字幕中文字幕在线一区| 麻豆视频观看网址久久| 欧美色网站导航| 亚洲精品日日夜夜| 丁香婷婷综合激情五月色| 欧美变态口味重另类| 日韩极品在线观看| 91黄色免费观看| 最近日韩中文字幕| 成人性生交大片免费看中文网站| 日韩欧美一级二级| 亚洲超碰精品一区二区| 97精品电影院| 国产精品日产欧美久久久久| 国产大陆精品国产| 久久精品人人做人人爽人人| 国内久久婷婷综合| 久久夜色精品一区| 激情综合色丁香一区二区| 日韩一区二区三区高清免费看看| 日日夜夜免费精品| 欧美精品1区2区| 日韩va亚洲va欧美va久久| 欧美日韩国产a| 亚洲国产欧美另类丝袜| 欧洲精品一区二区三区在线观看| 亚洲欧美色一区| 一本大道综合伊人精品热热| 亚洲黄色小说网站| 91啪亚洲精品| 一区二区三区 在线观看视频| 99久久国产综合精品麻豆| **欧美大码日韩| 91免费精品国自产拍在线不卡| 亚洲女与黑人做爰| 91老师国产黑色丝袜在线| 亚洲视频一区二区在线观看| 日本久久一区二区三区| 亚洲一线二线三线视频| 7777精品伊人久久久大香线蕉超级流畅 | 奇米影视在线99精品| 日韩欧美自拍偷拍| 国产一区视频网站| 中文久久乱码一区二区| 99riav一区二区三区| 亚洲综合色网站| 欧美日本一区二区在线观看| 久久99这里只有精品| 国产欧美精品一区aⅴ影院| 99视频精品在线| 图片区日韩欧美亚洲| 久久伊人蜜桃av一区二区| k8久久久一区二区三区| 亚洲国产综合色| 精品国产99国产精品| 成人午夜视频在线观看| 亚洲国产日韩精品| 日韩精品一区二区三区视频 | 亚洲乱码国产乱码精品精98午夜| 欧美精品日韩一本| 国产成人综合亚洲网站| 亚洲免费在线视频| 7777精品久久久大香线蕉| 国产成人三级在线观看| 一区二区三区在线免费观看| 欧美一区二区观看视频| 成人国产精品视频| 亚洲444eee在线观看| 国产三级久久久| 欧美影院精品一区| 国产在线精品不卡| 一片黄亚洲嫩模| 国产亚洲综合性久久久影院| 欧美综合天天夜夜久久| 国产在线视视频有精品| 亚洲猫色日本管| 精品国产一区二区三区忘忧草| 91蝌蚪porny| 精品无码三级在线观看视频| 亚洲精品第1页| 久久蜜臀精品av| 欧美日韩dvd在线观看| 成人午夜电影久久影院| 麻豆精品一区二区av白丝在线| 综合激情成人伊人| 精品噜噜噜噜久久久久久久久试看| 色综合视频在线观看| 国产一区二区三区国产| 日韩中文字幕1| 亚洲综合丁香婷婷六月香| 亚洲一二三级电影| 中文字幕av一区 二区| 欧美一区午夜视频在线观看|