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

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

?? quartzschedulerresources.java

?? Quartz 是個開源的作業調度框架
?? JAVA
字號:
/*  * 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.core;import org.quartz.spi.JobStore;import org.quartz.spi.ThreadPool;/** * <p> * Contains all of the resources (<code>JobStore</code>,<code>ThreadPool</code>, * etc.) necessary to create a <code>{@link QuartzScheduler}</code> instance. * </p> *  * @see QuartzScheduler *  * @author James House */public class QuartzSchedulerResources {    /*     * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~     *      * Data members.     *      * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~     */    public static final String CREATE_REGISTRY_NEVER = "never";    public static final String CREATE_REGISTRY_ALWAYS = "always";    public static final String CREATE_REGISTRY_AS_NEEDED = "as_needed";    private String name;    private String instanceId;    private String threadName;        private String rmiRegistryHost = null;    private int rmiRegistryPort = 1099;    private int rmiServerPort = -1;    private String rmiCreateRegistryStrategy = CREATE_REGISTRY_NEVER;    private ThreadPool threadPool;    private JobStore jobStore;    private JobRunShellFactory jobRunShellFactory;    /*     * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~     *      * Constructors.     *      * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~     */    /**     * <p>     * Create an instance with no properties initialized.     * </p>     */    public QuartzSchedulerResources() {        // do nothing...    }    /*     * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~     *      * Interface.     *      * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~     */    /**     * <p>     * Get the name for the <code>{@link QuartzScheduler}</code>.     * </p>     */    public String getName() {        return name;    }    /**     * <p>     * Set the name for the <code>{@link QuartzScheduler}</code>.     * </p>     *      * @exception IllegalArgumentException     *              if name is null or empty.     */    public void setName(String name) {        if (name == null || name.trim().length() == 0)                throw new IllegalArgumentException(                        "Scheduler name cannot be empty.");        this.name = name;                if (threadName == null) {            // thread name not already set, use default thread name            setThreadName(name + "_QuartzSchedulerThread");        }            }    /**     * <p>     * Get the instance Id for the <code>{@link QuartzScheduler}</code>.     * </p>     */    public String getInstanceId() {        return instanceId;    }    /**     * <p>     * Set the name for the <code>{@link QuartzScheduler}</code>.     * </p>     *      * @exception IllegalArgumentException     *              if name is null or empty.     */    public void setInstanceId(String instanceId) {        if (instanceId == null || instanceId.trim().length() == 0)                throw new IllegalArgumentException(                        "Scheduler instanceId cannot be empty.");        this.instanceId = instanceId;    }    public static String getUniqueIdentifier(String schedName,            String schedInstId) {        return schedName + "_$_" + schedInstId;    }    public String getUniqueIdentifier() {        return getUniqueIdentifier(name, instanceId);    }    /**     * <p>     * Get the host name of the RMI Registry that the scheduler should export     * itself to.     * </p>     */    public String getRMIRegistryHost() {        return rmiRegistryHost;    }    /**     * <p>     * Set the host name of the RMI Registry that the scheduler should export     * itself to.     * </p>     */    public void setRMIRegistryHost(String hostName) {        this.rmiRegistryHost = hostName;    }    /**     * <p>     * Get the port number of the RMI Registry that the scheduler should export     * itself to.     * </p>     */    public int getRMIRegistryPort() {        return rmiRegistryPort;    }    /**     * <p>     * Set the port number of the RMI Registry that the scheduler should export     * itself to.     * </p>     */    public void setRMIRegistryPort(int port) {        this.rmiRegistryPort = port;    }    /**     * <p>     * Get the port number the scheduler server will be bound to.     * </p>     */    public int getRMIServerPort() {        return rmiServerPort;    }    /**     * <p>     * Set the port number the scheduler server will be bound to.     * </p>     */    public void setRMIServerPort(int port) {        this.rmiServerPort = port;    }        /**     * <p>     * Get the setting of whether or not Quartz should create an RMI Registry,     * and if so, how.     * </p>     */    public String getRMICreateRegistryStrategy() {        return rmiCreateRegistryStrategy;    }    /**     * <p>     * Get the name for the <code>{@link QuartzSchedulerThread}</code>.     * </p>     */    public String getThreadName() {        return threadName;    }    /**     * <p>     * Set the name for the <code>{@link QuartzSchedulerThread}</code>.     * </p>     *      * @exception IllegalArgumentException     *              if name is null or empty.     */    public void setThreadName(String threadName) {        if (threadName == null || threadName.trim().length() == 0)                throw new IllegalArgumentException(                        "Scheduler thread name cannot be empty.");        this.threadName = threadName;    }            /**     * <p>     * Set whether or not Quartz should create an RMI Registry, and if so, how.     * </p>     *      * @see #CREATE_REGISTRY_ALWAYS     * @see #CREATE_REGISTRY_AS_NEEDED     * @see #CREATE_REGISTRY_NEVER     */    public void setRMICreateRegistryStrategy(String rmiCreateRegistryStrategy) {        if (rmiCreateRegistryStrategy == null                || rmiCreateRegistryStrategy.trim().length() == 0) rmiCreateRegistryStrategy = CREATE_REGISTRY_NEVER;        else if (rmiCreateRegistryStrategy.equalsIgnoreCase("true")) rmiCreateRegistryStrategy = CREATE_REGISTRY_AS_NEEDED;        else if (rmiCreateRegistryStrategy.equalsIgnoreCase("false")) rmiCreateRegistryStrategy = CREATE_REGISTRY_NEVER;        else if (rmiCreateRegistryStrategy                .equalsIgnoreCase(CREATE_REGISTRY_ALWAYS)) rmiCreateRegistryStrategy = CREATE_REGISTRY_ALWAYS;        else if (rmiCreateRegistryStrategy                .equalsIgnoreCase(CREATE_REGISTRY_AS_NEEDED)) rmiCreateRegistryStrategy = CREATE_REGISTRY_AS_NEEDED;        else if (rmiCreateRegistryStrategy                .equalsIgnoreCase(CREATE_REGISTRY_NEVER)) rmiCreateRegistryStrategy = CREATE_REGISTRY_NEVER;        else            throw new IllegalArgumentException(                    "Faild to set RMICreateRegistryStrategy - strategy unknown: '"                            + rmiCreateRegistryStrategy + "'");        this.rmiCreateRegistryStrategy = rmiCreateRegistryStrategy;    }    /**     * <p>     * Get the <code>{@link ThreadPool}</code> for the <code>{@link QuartzScheduler}</code>     * to use.     * </p>     */    public ThreadPool getThreadPool() {        return threadPool;    }    /**     * <p>     * Set the <code>{@link ThreadPool}</code> for the <code>{@link QuartzScheduler}</code>     * to use.     * </p>     *      * @exception IllegalArgumentException     *              if threadPool is null.     */    public void setThreadPool(ThreadPool threadPool) {        if (threadPool == null)                throw new IllegalArgumentException("ThreadPool cannot be null.");        this.threadPool = threadPool;    }    /**     * <p>     * Get the <code>{@link JobStore}</code> for the <code>{@link QuartzScheduler}</code>     * to use.     * </p>     */    public JobStore getJobStore() {        return jobStore;    }    /**     * <p>     * Set the <code>{@link JobStore}</code> for the <code>{@link QuartzScheduler}</code>     * to use.     * </p>     *      * @exception IllegalArgumentException     *              if jobStore is null.     */    public void setJobStore(JobStore jobStore) {        if (jobStore == null)                throw new IllegalArgumentException("JobStore cannot be null.");        this.jobStore = jobStore;    }    /**     * <p>     * Get the <code>{@link JobRunShellFactory}</code> for the <code>{@link QuartzScheduler}</code>     * to use.     * </p>     */    public JobRunShellFactory getJobRunShellFactory() {        return jobRunShellFactory;    }    /**     * <p>     * Set the <code>{@link JobRunShellFactory}</code> for the <code>{@link QuartzScheduler}</code>     * to use.     * </p>     *      * @exception IllegalArgumentException     *              if jobRunShellFactory is null.     */    public void setJobRunShellFactory(JobRunShellFactory jobRunShellFactory) {        if (jobRunShellFactory == null)                throw new IllegalArgumentException(                        "JobRunShellFactory cannot be null.");        this.jobRunShellFactory = jobRunShellFactory;    }}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
色噜噜狠狠色综合欧洲selulu| 久久婷婷国产综合精品青草| 日韩欧美电影在线| 18成人在线视频| 蜜臀av在线播放一区二区三区| 成+人+亚洲+综合天堂| 日韩一级免费观看| 一区二区免费在线播放| 国产电影一区在线| 91精品国产欧美日韩| 亚洲精品视频在线看| 国产自产2019最新不卡| 7777精品伊人久久久大香线蕉| 国产精品超碰97尤物18| 国产成人综合在线| 久久蜜臀精品av| 国产91高潮流白浆在线麻豆| 91精品国产91综合久久蜜臀| 夜夜爽夜夜爽精品视频| 99久久精品国产导航| 国产日产欧产精品推荐色| 黄色精品一二区| 精品伦理精品一区| 久久超碰97人人做人人爱| 91麻豆精品国产自产在线| 午夜精品成人在线视频| 欧美酷刑日本凌虐凌虐| 亚洲成av人影院在线观看网| 欧美性猛交一区二区三区精品| 一区二区理论电影在线观看| 一本大道av伊人久久综合| 亚洲乱码国产乱码精品精小说| caoporen国产精品视频| 亚洲欧洲国产专区| 91猫先生在线| 亚洲国产一区二区视频| 欧美日韩国产片| 午夜影视日本亚洲欧洲精品| 777午夜精品免费视频| 日韩一区精品字幕| 欧美电影免费观看高清完整版在线 | 免费成人在线观看视频| 91精品国产综合久久香蕉麻豆| 亚洲成人在线免费| 国产精品毛片高清在线完整版| 国产福利一区二区| 亚洲免费观看在线视频| 欧美日本不卡视频| 久草在线在线精品观看| 国产日产欧美一区二区三区| 99re8在线精品视频免费播放| 亚洲一二三四区| 欧美大片一区二区| av在线播放成人| 偷窥少妇高潮呻吟av久久免费| 日韩视频在线你懂得| 国产99久久久国产精品潘金| 亚洲男人电影天堂| 欧美一区二区三级| 国产成人精品午夜视频免费| 亚洲免费观看在线观看| 日韩欧美黄色影院| 99精品桃花视频在线观看| 日本vs亚洲vs韩国一区三区| 欧美韩国一区二区| 欧美精品色一区二区三区| 国产精品123区| 亚洲一级电影视频| 国产清纯在线一区二区www| 91成人在线观看喷潮| 国产资源精品在线观看| 亚洲一区二区三区四区五区黄| 2023国产精品自拍| 欧美在线免费播放| 国产91精品一区二区麻豆网站| 亚洲成人av在线电影| 国产精品久久久久久久久免费丝袜 | 69堂精品视频| 99综合电影在线视频| 日本aⅴ精品一区二区三区| 国产精品国产三级国产三级人妇| 欧美放荡的少妇| 91视频你懂的| 国产成人精品午夜视频免费| 日韩精品电影一区亚洲| 亚洲精品综合在线| 日本一区二区三区四区在线视频| 欧美一区二区免费视频| 色综合天天综合色综合av| 国产一区二区h| 丝袜美腿亚洲一区二区图片| 亚洲另类色综合网站| 国产精品日韩精品欧美在线| 久久久精品综合| 日韩一区二区三区观看| 欧美日韩高清一区二区不卡| 日本道精品一区二区三区| 国产成人精品1024| 国产高清亚洲一区| 国产精品自拍三区| 国产真实精品久久二三区| 蜜臀久久99精品久久久画质超高清| 亚洲在线一区二区三区| 一区二区视频在线看| 日本一区二区三区dvd视频在线| 欧美变态tickling挠脚心| 51精品久久久久久久蜜臀| 色偷偷久久人人79超碰人人澡| 大胆亚洲人体视频| 成人精品国产福利| 成人黄色软件下载| 成人高清在线视频| 99视频精品在线| 91色|porny| 欧美午夜精品一区| 欧美美女激情18p| 69堂精品视频| 日韩欧美在线123| 日韩免费一区二区三区在线播放| 日韩欧美国产三级| 欧美精品一区二区三区一线天视频| 日韩免费观看高清完整版 | 精品无码三级在线观看视频| 激情综合网激情| 成人黄色软件下载| 在线观看日韩电影| 欧美一区二区网站| 久久精品视频免费| 亚洲视频小说图片| 婷婷中文字幕综合| 免费观看一级欧美片| 国产精品自产自拍| 99精品视频在线观看| 欧美日韩一区中文字幕| 日韩欧美成人一区| 国产精品理伦片| 午夜激情久久久| 国产精品影视天天线| 一本到不卡免费一区二区| 欧美日韩国产123区| 欧美精品一区二区在线观看| 亚洲色图制服诱惑| 日韩和欧美一区二区三区| 国产尤物一区二区在线| 色综合久久中文综合久久牛| 欧美一级片在线看| 国产精品国产三级国产a| 日韩精品91亚洲二区在线观看 | 久久精品视频在线免费观看| 亚洲欧美日韩久久| 精品一区二区免费| 91美女视频网站| 日韩视频一区二区三区在线播放| 国产人妖乱国产精品人妖| 亚洲国产视频一区二区| 国产在线视视频有精品| 欧美日免费三级在线| 中文字幕乱码亚洲精品一区 | 欧美精品一区二区三区久久久| 中文字幕一区不卡| 国精品**一区二区三区在线蜜桃| 欧美性生活久久| 国产精品区一区二区三| 日韩精品1区2区3区| 91麻豆产精品久久久久久| 2023国产精品| 奇米色一区二区| 欧美在线免费视屏| 亚洲三级在线观看| 国产高清久久久| 精品国产伦一区二区三区观看体验 | 美女被吸乳得到大胸91| 日本韩国一区二区| 国产精品女主播在线观看| 精品一区二区在线视频| 欧美日韩国产综合一区二区 | 久久99精品久久久久久久久久久久| 91高清视频在线| 中文字幕日韩av资源站| 国产高清亚洲一区| 精品国产在天天线2019| 蜜桃久久精品一区二区| 欧美高清精品3d| 午夜精品久久一牛影视| 色偷偷88欧美精品久久久| 亚洲素人一区二区| 91网站在线播放| 国产精品福利一区二区三区| 高清日韩电视剧大全免费| 久久综合久久久久88| 久久国产精品99久久人人澡| 日韩一区二区三免费高清| 亚洲成av人影院在线观看网| 欧美日韩国产大片| 日韩成人精品在线观看| 欧美一区二区三区四区高清| 日本中文字幕一区二区有限公司| 欧美精品v国产精品v日韩精品 | 夜夜精品视频一区二区| 91成人在线精品|