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

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

?? stdjdbcdelegate.java

?? Quartz 是個(gè)開源的作業(yè)調(diào)度框架
?? JAVA
?? 第 1 頁 / 共 5 頁
字號(hào):
            Trigger[] tArr = new Trigger[oArr.length];
            System.arraycopy(oArr, 0, tArr, 0, oArr.length);
            return tArr;
        } finally {
            if (null != rs) {
                try {
                    rs.close();
                } catch (SQLException ignore) {
                }
            }
            if (null != ps) {
                try {
                    ps.close();
                } catch (SQLException ignore) {
                }
            }
        }
    }

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

        try {
            ps = conn.prepareStatement(rtp(DELETE_FIRED_TRIGGERS));

            return ps.executeUpdate();
        } finally {
            if (null != ps) {
                try {
                    ps.close();
                } catch (SQLException ignore) {
                }
            }
        }
    }

    public int deleteFiredTriggers(Connection conn, String instanceId)
            throws SQLException {
        PreparedStatement ps = null;

        try {
            ps = conn.prepareStatement(rtp(DELETE_INSTANCES_FIRED_TRIGGERS));
            ps.setString(1, instanceId);

            return ps.executeUpdate();
        } finally {
            if (null != ps) {
                try {
                    ps.close();
                } catch (SQLException ignore) {
                }
            }
        }
    }

    //---------------------------------------------------------------------------
    // 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
     */
    public int insertJobDetail(Connection conn, JobDetail job)
            throws IOException, SQLException {
        ByteArrayOutputStream baos = serializeJobData(job.getJobDataMap());

        PreparedStatement ps = null;

        int insertResult = 0;

        try {
            ps = conn.prepareStatement(rtp(INSERT_JOB_DETAIL));
            ps.setString(1, job.getName());
            ps.setString(2, job.getGroup());
            ps.setString(3, job.getDescription());
            ps.setString(4, job.getJobClass().getName());
            ps.setBoolean(5, job.isDurable());
            ps.setBoolean(6, job.isVolatile());
            ps.setBoolean(7, job.isStateful());
            ps.setBoolean(8, job.requestsRecovery());
            ps.setBytes(9, baos.toByteArray());

            insertResult = ps.executeUpdate();
        } finally {
            if (null != ps) {
                try {
                    ps.close();
                } catch (SQLException ignore) {
                }
            }
        }

        if (insertResult > 0) {
            String[] jobListeners = job.getJobListenerNames();
            for (int i = 0; jobListeners != null && i < jobListeners.length; i++)
                insertJobListener(conn, job, jobListeners[i]);
        }

        return insertResult;
    }

    /**
     * <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
     */
    public int updateJobDetail(Connection conn, JobDetail job)
            throws IOException, SQLException {
        ByteArrayOutputStream baos = serializeJobData(job.getJobDataMap());

        PreparedStatement ps = null;

        int insertResult = 0;

        try {
            ps = conn.prepareStatement(rtp(UPDATE_JOB_DETAIL));
            ps.setString(1, job.getDescription());
            ps.setString(2, job.getJobClass().getName());
            ps.setBoolean(3, job.isDurable());
            ps.setBoolean(4, job.isVolatile());
            ps.setBoolean(5, job.isStateful());
            ps.setBoolean(6, job.requestsRecovery());
            ps.setBytes(7, baos.toByteArray());
            ps.setString(8, job.getName());
            ps.setString(9, job.getGroup());

            insertResult = ps.executeUpdate();
        } finally {
            if (null != ps) {
                try {
                    ps.close();
                } catch (SQLException ignore) {
                }
            }
        }

        if (insertResult > 0) {
            deleteJobListeners(conn, job.getName(), job.getGroup());

            String[] jobListeners = job.getJobListenerNames();
            for (int i = 0; jobListeners != null && i < jobListeners.length; i++)
                insertJobListener(conn, job, jobListeners[i]);
        }

        return insertResult;
    }

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

        try {
            ps = conn.prepareStatement(rtp(SELECT_TRIGGERS_FOR_JOB));
            ps.setString(1, jobName);
            ps.setString(2, groupName);
            rs = ps.executeQuery();

            ArrayList list = new ArrayList(10);
            while (rs.next()) {
                String trigName = rs.getString(COL_TRIGGER_NAME);
                String trigGroup = rs.getString(COL_TRIGGER_GROUP);
                list.add(new Key(trigName, trigGroup));
            }
            Object[] oArr = list.toArray();
            Key[] kArr = new Key[oArr.length];
            System.arraycopy(oArr, 0, kArr, 0, oArr.length);
            return kArr;
        } finally {
            if (null != rs) {
                try {
                    rs.close();
                } catch (SQLException ignore) {
                }
            }
            if (null != ps) {
                try {
                    ps.close();
                } catch (SQLException ignore) {
                }
            }
        }
    }

    /**
     * <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
     */
    public int deleteJobListeners(Connection conn, String jobName,
            String groupName) throws SQLException {
        PreparedStatement ps = null;

        try {
            ps = conn.prepareStatement(rtp(DELETE_JOB_LISTENERS));
            ps.setString(1, jobName);
            ps.setString(2, groupName);
            return ps.executeUpdate();
        } finally {
            if (null != ps) {
                try {
                    ps.close();
                } catch (SQLException ignore) {
                }
            }
        }
    }

    /**
     * <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
     */
    public int deleteJobDetail(Connection conn, String jobName, String groupName)
            throws SQLException {
        PreparedStatement ps = null;

        try {
            logger.debug("Deleting job: " + groupName + "." + jobName);
            ps = conn.prepareStatement(rtp(DELETE_JOB_DETAIL));
            ps.setString(1, jobName);
            ps.setString(2, groupName);
            return ps.executeUpdate();
        } finally {
            if (null != ps) {
                try {
                    ps.close();
                } catch (SQLException ignore) {
                }
            }
        }
    }

    /**
     * <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
     */
    public boolean isJobStateful(Connection conn, String jobName,
            String groupName) throws SQLException {
        PreparedStatement ps = null;
        ResultSet rs = null;

        try {
            ps = conn.prepareStatement(rtp(SELECT_JOB_STATEFUL));
            ps.setString(1, jobName);
            ps.setString(2, groupName);
            rs = ps.executeQuery();
            if (!rs.next()) { return false; }
            return rs.getBoolean(COL_IS_STATEFUL);
        } finally {
            if (null != rs) {
                try {
                    rs.close();
                } catch (SQLException ignore) {
                }
            }
            if (null != ps) {
                try {
                    ps.close();
                } catch (SQLException ignore) {
                }
            }
        }
    }

    /**
     * <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
     */
    public boolean jobExists(Connection conn, String jobName, String groupName)
            throws SQLException {
        PreparedStatement ps = null;
        ResultSet rs = null;

        try {
            ps = conn.prepareStatement(rtp(SELECT_JOB_EXISTENCE));
            ps.setString(1, jobName);
            ps.setString(2, groupName);
            rs = ps.executeQuery();
            if (rs.next()) {
                return true;
            } else {
                return false;
            }
        } finally {
            if (null != rs) {
                try {
                    rs.close();
                } catch (SQLException ignore) {
                }
            }
            if (null != ps) {
                try {
                    ps.close();
                } catch (SQLException ignore) {
                }
            }
        }

    }

    /**
     * <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
     */
    public int updateJobData(Connection conn, JobDetail job)
            throws IOException, SQLException {
        ByteArrayOutputStream baos = serializeJobData(job.getJobDataMap());

        PreparedStatement ps = null;

        try {
            ps = conn.prepareStatement(rtp(UPDATE_JOB_DATA));
            ps.setBytes(1, baos.toByteArray());
            ps.setString(2, job.getName());
            ps.setString(3, job.getGroup());

            return ps.executeUpdate();
        } finally {
            if (null != ps) {
                try {
                    ps.close();
                } catch (SQLException ignore) {
                }
            }
        }
    }

    /**
     * <p>
     * Associate a listener with a job.
     * </p>
     * 

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
色中色一区二区| 亚洲一区视频在线观看视频| 久久爱www久久做| 欧美日韩免费观看一区二区三区| 中文字幕一区三区| 91亚洲精华国产精华精华液| 国产精品五月天| 成人免费视频一区| 国产精品欧美一区二区三区| 亚洲h在线观看| 欧美日韩一区视频| 五月婷婷另类国产| 6080亚洲精品一区二区| 青青草精品视频| 日韩女优制服丝袜电影| 日韩电影在线看| 国产成人av电影在线播放| 国产网站一区二区| 91丨九色丨国产丨porny| 亚洲一区二区综合| 日韩免费一区二区三区在线播放| 国产福利一区二区三区视频| 亚洲精品一二三| 欧美成人艳星乳罩| 95精品视频在线| 蜜乳av一区二区| 亚洲丝袜美腿综合| 日韩午夜在线观看视频| 91色.com| 狠狠色狠狠色合久久伊人| 亚洲视频一区在线观看| 日韩欧美综合一区| 国产**成人网毛片九色| 五月婷婷激情综合| 中文字幕在线不卡| 欧美tickle裸体挠脚心vk| 色综合一个色综合亚洲| 精品一区二区三区蜜桃| 一区二区三区四区中文字幕| 精品乱码亚洲一区二区不卡| 91高清视频免费看| 国产精品夜夜嗨| 日韩中文字幕av电影| 国产精品久久久久久久久果冻传媒| 欧美剧情电影在线观看完整版免费励志电影 | 国产99久久久精品| 五月天欧美精品| 亚洲男帅同性gay1069| 国产日韩视频一区二区三区| 欧美肥妇free| 在线视频国内自拍亚洲视频| 国产不卡在线视频| 精品制服美女久久| 日精品一区二区| 一区二区三区**美女毛片| 久久久久国产精品人| 欧美成人福利视频| 欧美高清视频不卡网| 欧美中文字幕亚洲一区二区va在线 | 久久影院午夜片一区| 91精品国产综合久久精品图片| 91国在线观看| 一本一道综合狠狠老| youjizz久久| 成人性生交大片免费看在线播放 | 久久久久久久综合| 日韩一区二区精品葵司在线| 欧美午夜一区二区| 欧美最猛性xxxxx直播| 色综合天天综合在线视频| 盗摄精品av一区二区三区| 国产在线精品视频| 国产在线不卡视频| 国产一本一道久久香蕉| 国产毛片精品国产一区二区三区| 蜜桃av一区二区三区电影| 日韩国产欧美在线播放| 亚洲成人动漫在线观看| 天天操天天色综合| 日韩成人一级片| 青青草国产成人av片免费| 日产欧产美韩系列久久99| 日韩电影在线看| 免费在线观看视频一区| 狠狠久久亚洲欧美| 国产精品白丝jk白祙喷水网站| 国产成人免费网站| 99久久综合99久久综合网站| 92精品国产成人观看免费| 91国在线观看| 777a∨成人精品桃花网| 欧美哺乳videos| 国产偷国产偷精品高清尤物| 中文字幕欧美国产| 亚洲精品一二三| 午夜精品在线看| 精品在线一区二区| 成人精品免费网站| 欧美怡红院视频| 日韩亚洲欧美中文三级| 国产亚洲欧美一级| 自拍偷拍国产亚洲| 日韩激情在线观看| 国产老肥熟一区二区三区| 成人福利视频在线| 欧美日高清视频| 2024国产精品视频| 亚洲视频 欧洲视频| 午夜av区久久| 粉嫩aⅴ一区二区三区四区五区| 91行情网站电视在线观看高清版| 欧美丰满高潮xxxx喷水动漫| 国产亚洲成av人在线观看导航| 亚洲欧美日韩国产综合在线| 蜜桃视频一区二区| 91首页免费视频| 欧美一卡二卡三卡| ●精品国产综合乱码久久久久| 亚洲不卡av一区二区三区| 精一区二区三区| 色综合一区二区| 久久久亚洲精华液精华液精华液| 亚洲欧美一区二区三区国产精品| 强制捆绑调教一区二区| 成年人国产精品| 欧美一区二区久久久| 亚洲欧美偷拍另类a∨色屁股| 日韩av在线发布| 91毛片在线观看| 久久九九久久九九| 日韩激情视频网站| 91免费视频观看| 国产欧美一区二区精品性| 天天操天天干天天综合网| zzijzzij亚洲日本少妇熟睡| 欧美xxx久久| 亚洲综合免费观看高清完整版| 国产成人欧美日韩在线电影| 日韩精品一区在线| 亚洲影院理伦片| 99久久99久久综合| 国产夜色精品一区二区av| 日韩avvvv在线播放| 欧美在线观看你懂的| 国产精品二区一区二区aⅴ污介绍| 蜜臀久久久99精品久久久久久| 91黄色激情网站| 亚洲免费av观看| 成人午夜免费电影| 久久免费美女视频| 蜜桃av噜噜一区| 欧美一级xxx| 日韩电影在线观看一区| 欧美精品一二三区| 婷婷国产v国产偷v亚洲高清| 色素色在线综合| 中文字幕在线不卡视频| 国产成人一区在线| 久久久影院官网| 国产一区不卡视频| 久久免费的精品国产v∧| 极品少妇一区二区三区精品视频 | jlzzjlzz亚洲日本少妇| 久久久久久久久久久电影| 国产自产2019最新不卡| 欧美电影免费观看完整版| 首页国产欧美日韩丝袜| 欧美视频在线观看一区| 亚洲一区二区三区在线看| 欧美亚洲日本国产| 亚洲成人一区在线| 56国语精品自产拍在线观看| 日韩av中文字幕一区二区 | 国产成人精品亚洲777人妖| 精品国产一区久久| 国内不卡的二区三区中文字幕| 久久综合色婷婷| 粉嫩欧美一区二区三区高清影视| 久久先锋影音av| 成人性生交大片免费看中文 | 黑人巨大精品欧美黑白配亚洲| 欧美一区二区人人喊爽| 久久99国产精品久久99果冻传媒 | 国产日韩精品一区二区三区在线| 国产精品亚洲专一区二区三区| 国产欧美一区二区精品忘忧草| 丁香婷婷综合色啪| 亚洲色图清纯唯美| 在线视频中文字幕一区二区| 三级不卡在线观看| 欧美精品一区二区三区在线播放| 国产一区二区日韩精品| 国产精品国产三级国产普通话三级 | 国产拍揄自揄精品视频麻豆| 99精品热视频| 亚洲一区二区三区三| 日韩午夜激情视频| 成人一区二区三区在线观看| 亚洲在线视频网站| 日韩精品专区在线|