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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? driverdelegate.java

?? Java中非常實用流控制工具
?? 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

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
中文字幕乱码亚洲精品一区 | 国产精品日韩成人| 亚洲男人的天堂av| 国产乱人伦偷精品视频免下载| 成人精品一区二区三区中文字幕 | 精品国产免费视频| 久久久久国产一区二区三区四区| 亚洲男人的天堂av| 国产成人av电影免费在线观看| 欧美三级三级三级爽爽爽| 久久综合久久综合九色| 亚洲一二三四久久| 91老师国产黑色丝袜在线| 久久久久久久久久久久久久久99 | 欧美在线免费播放| 国产精品系列在线| av资源站一区| 中文字幕精品一区二区精品绿巨人| 青娱乐精品视频在线| 在线观看精品一区| 天堂影院一区二区| 91精品免费在线| 免播放器亚洲一区| 久久久国产精品不卡| 国产精品99精品久久免费| 久久精品免视看| 97久久精品人人爽人人爽蜜臀 | 色综合 综合色| 亚洲高清不卡在线观看| 日本一区二区三区视频视频| 韩国午夜理伦三级不卡影院| 蜜臀av亚洲一区中文字幕| 久久99国产精品麻豆| 精品粉嫩aⅴ一区二区三区四区| 激情五月播播久久久精品| 久久久久久麻豆| 在线一区二区三区四区| 午夜亚洲国产au精品一区二区| 日韩亚洲欧美综合| 波多野结衣中文字幕一区| 亚洲妇熟xx妇色黄| 91精品国产综合久久久蜜臀粉嫩 | 国产成人av电影在线| 亚洲人午夜精品天堂一二香蕉| 在线综合亚洲欧美在线视频| 成人黄色777网| 久久99精品一区二区三区三区| 中文字幕在线观看一区| 91麻豆精品国产91久久久久| 丰满放荡岳乱妇91ww| 毛片不卡一区二区| 亚洲一线二线三线视频| 国产精品久久精品日日| 精品99一区二区三区| 欧美日韩夫妻久久| 欧美视频一区二区三区| 成人免费毛片片v| 国产在线国偷精品产拍免费yy| 亚洲乱码精品一二三四区日韩在线| 久久综合视频网| 日韩一区二区三区四区| 色婷婷亚洲综合| 91蜜桃网址入口| 一本大道久久a久久综合婷婷| 国产成人精品www牛牛影视| 中文字幕综合网| 亚洲色欲色欲www在线观看| 日本一区二区在线不卡| 国产精品视频在线看| 国产精品网曝门| 久久久久久日产精品| 国产精品你懂的在线| 国产精品私人自拍| 自拍偷自拍亚洲精品播放| 亚洲免费色视频| 午夜精品福利在线| 久久成人羞羞网站| 成人免费看黄yyy456| 国产成人99久久亚洲综合精品| 高清在线成人网| 91高清在线观看| 26uuu国产在线精品一区二区| 日韩欧美另类在线| 国产精品久久久久久久久动漫| 亚洲免费大片在线观看| 天涯成人国产亚洲精品一区av| 国精产品一区一区三区mba桃花 | 日韩三级电影网址| 国产精品视频免费看| 日本欧美一区二区三区| 懂色av噜噜一区二区三区av| 欧美日韩亚州综合| 国产日产欧美一区二区三区| 婷婷综合在线观看| av在线不卡网| 精品1区2区在线观看| 一区二区三区日韩| 国产不卡一区视频| 久久综合精品国产一区二区三区| 亚洲欧美日韩国产综合在线 | 欧美美女一区二区三区| 国产精品毛片久久久久久久| 久久99精品久久久久久| 粉嫩欧美一区二区三区高清影视| 欧美一卡二卡三卡| 亚洲福中文字幕伊人影院| 国产宾馆实践打屁股91| 久久久www成人免费毛片麻豆 | 亚洲视频一二三区| 色猫猫国产区一区二在线视频| 亚洲国产精华液网站w| av电影一区二区| 亚洲综合在线视频| 91精品国产综合久久婷婷香蕉 | 国产精品网站在线观看| 99麻豆久久久国产精品免费优播| 亚洲成人av一区二区| 一本色道久久综合精品竹菊| 午夜伦欧美伦电影理论片| 欧美一区二区三区婷婷月色 | 亚洲人成网站影音先锋播放| 欧洲精品视频在线观看| 午夜不卡av免费| 国产网站一区二区三区| 色婷婷亚洲综合| 国产一区二区视频在线| 亚洲欧美二区三区| 精品国产露脸精彩对白| 波多野结衣精品在线| 蜜桃av一区二区| 尤物视频一区二区| 国产亚洲欧美激情| 欧美军同video69gay| www.爱久久.com| 国产在线国偷精品免费看| 午夜精品一区二区三区电影天堂| 国产视频一区二区三区在线观看| 欧美日韩视频不卡| aaa欧美大片| 成人av午夜电影| 国产一区二区不卡| 蜜臀av国产精品久久久久| 一区二区三区在线视频免费 | 亚洲视频每日更新| xf在线a精品一区二区视频网站| 欧美天堂亚洲电影院在线播放| 成人黄色片在线观看| 国产精品1区2区3区在线观看| 亚洲妇熟xx妇色黄| 午夜视频在线观看一区二区| 亚洲欧洲一区二区三区| 中文一区二区在线观看| 久久亚洲精精品中文字幕早川悠里 | 国产一区二区久久| 国模少妇一区二区三区| 成人午夜激情影院| 成人黄页毛片网站| kk眼镜猥琐国模调教系列一区二区| 精品一区精品二区高清| 国产一区欧美一区| 99久久亚洲一区二区三区青草| av资源网一区| 欧美日韩一区二区在线观看视频| 欧洲一区在线电影| 欧美一区二区国产| 国产无一区二区| 亚洲综合色丁香婷婷六月图片| 亚洲一区在线看| 精品系列免费在线观看| 粉嫩嫩av羞羞动漫久久久| 色婷婷精品大视频在线蜜桃视频| 波多野结衣在线一区| 欧美日韩在线三级| 久久综合久色欧美综合狠狠| 欧美日韩日日骚| 久久综合九色综合97婷婷女人| 欧美v日韩v国产v| 中文字幕av一区 二区| 一区二区三区四区av| 日本亚洲一区二区| av不卡一区二区三区| 欧美日韩精品福利| 久久久亚洲精华液精华液精华液| 国产视频在线观看一区二区三区| 亚洲精品中文在线影院| 成人免费看的视频| 91精品国产高清一区二区三区蜜臀| 精品国产一二三| 亚洲影视资源网| 懂色av中文一区二区三区| 欧美日韩精品欧美日韩精品一| 欧美成人a在线| 亚洲自拍偷拍av| 国产成人av一区二区| 欧美午夜免费电影| 国产欧美日韩激情| 日韩精品亚洲一区| 欧洲精品在线观看| 国产精品成人一区二区三区夜夜夜| 日韩av不卡在线观看|