當前位置: 首頁>>代碼示例>>Java>>正文


Java GroupMatcher.groupEquals方法代碼示例

本文整理匯總了Java中org.quartz.impl.matchers.GroupMatcher.groupEquals方法的典型用法代碼示例。如果您正苦於以下問題:Java GroupMatcher.groupEquals方法的具體用法?Java GroupMatcher.groupEquals怎麽用?Java GroupMatcher.groupEquals使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在org.quartz.impl.matchers.GroupMatcher的用法示例。


在下文中一共展示了GroupMatcher.groupEquals方法的6個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。

示例1: pauseTriggers

import org.quartz.impl.matchers.GroupMatcher; //導入方法依賴的package包/類
/**
 * <p>
 * Pause all of the <code>{@link Trigger}s</code> in the matching groups.
 * </p>
 *  
 */
public void pauseTriggers(GroupMatcher<TriggerKey> matcher)
    throws SchedulerException {
    validateState();

    if(matcher == null) {
        matcher = GroupMatcher.groupEquals(Scheduler.DEFAULT_GROUP);
    }

    Collection<String> pausedGroups = resources.getJobStore().pauseTriggers(matcher);
    notifySchedulerThread(0L);
    for (String pausedGroup : pausedGroups) {
        notifySchedulerListenersPausedTriggers(pausedGroup);
    }
}
 
開發者ID:lamsfoundation,項目名稱:lams,代碼行數:21,代碼來源:QuartzScheduler.java

示例2: pauseJobs

import org.quartz.impl.matchers.GroupMatcher; //導入方法依賴的package包/類
/**
 * <p>
 * Pause all of the <code>{@link org.quartz.JobDetail}s</code> in the
 * matching groups - by pausing all of their <code>Trigger</code>s.
 * </p>
 *  
 */
public void pauseJobs(GroupMatcher<JobKey> groupMatcher)
    throws SchedulerException {
    validateState();

    if(groupMatcher == null) {
        groupMatcher = GroupMatcher.groupEquals(Scheduler.DEFAULT_GROUP);
    }
    
    Collection<String> pausedGroups = resources.getJobStore().pauseJobs(groupMatcher);
    notifySchedulerThread(0L);
    for (String pausedGroup : pausedGroups) {
        notifySchedulerListenersPausedJobs(pausedGroup);
    }
}
 
開發者ID:lamsfoundation,項目名稱:lams,代碼行數:22,代碼來源:QuartzScheduler.java

示例3: resumeTriggers

import org.quartz.impl.matchers.GroupMatcher; //導入方法依賴的package包/類
/**
 * <p>
 * Resume (un-pause) all of the <code>{@link Trigger}s</code> in the
 * matching groups.
 * </p>
 * 
 * <p>
 * If any <code>Trigger</code> missed one or more fire-times, then the
 * <code>Trigger</code>'s misfire instruction will be applied.
 * </p>
 *  
 */
public void resumeTriggers(GroupMatcher<TriggerKey> matcher)
    throws SchedulerException {
    validateState();

    if(matcher == null) {
        matcher = GroupMatcher.groupEquals(Scheduler.DEFAULT_GROUP);
    }

    Collection<String> pausedGroups = resources.getJobStore().resumeTriggers(matcher);
    notifySchedulerThread(0L);
    for (String pausedGroup : pausedGroups) {
        notifySchedulerListenersResumedTriggers(pausedGroup);
    }
}
 
開發者ID:lamsfoundation,項目名稱:lams,代碼行數:27,代碼來源:QuartzScheduler.java

示例4: resumeJobs

import org.quartz.impl.matchers.GroupMatcher; //導入方法依賴的package包/類
/**
 * <p>
 * Resume (un-pause) all of the <code>{@link org.quartz.JobDetail}s</code>
 * in the matching groups.
 * </p>
 * 
 * <p>
 * If any of the <code>Job</code> s had <code>Trigger</code> s that
 * missed one or more fire-times, then the <code>Trigger</code>'s
 * misfire instruction will be applied.
 * </p>
 *  
 */
public void resumeJobs(GroupMatcher<JobKey> matcher)
    throws SchedulerException {
    validateState();

    if(matcher == null) {
        matcher = GroupMatcher.groupEquals(Scheduler.DEFAULT_GROUP);
    }
    
    Collection<String> resumedGroups = resources.getJobStore().resumeJobs(matcher);
    notifySchedulerThread(0L);
    for (String pausedGroup : resumedGroups) {
        notifySchedulerListenersResumedJobs(pausedGroup);
    }
}
 
開發者ID:lamsfoundation,項目名稱:lams,代碼行數:28,代碼來源:QuartzScheduler.java

示例5: getJobKeys

import org.quartz.impl.matchers.GroupMatcher; //導入方法依賴的package包/類
/**
 * <p>
 * Get the names of all the <code>{@link org.quartz.Job}s</code> in the
 * matching groups.
 * </p>
 */
public Set<JobKey> getJobKeys(GroupMatcher<JobKey> matcher)
    throws SchedulerException {
    validateState();

    if(matcher == null) {
        matcher = GroupMatcher.groupEquals(Scheduler.DEFAULT_GROUP);
    }
    
    return resources.getJobStore().getJobKeys(matcher);
}
 
開發者ID:lamsfoundation,項目名稱:lams,代碼行數:17,代碼來源:QuartzScheduler.java

示例6: getTriggerKeys

import org.quartz.impl.matchers.GroupMatcher; //導入方法依賴的package包/類
/**
 * <p>
 * Get the names of all the <code>{@link org.quartz.Trigger}s</code> in
 * the matching groups.
 * </p>
 */
public Set<TriggerKey> getTriggerKeys(GroupMatcher<TriggerKey> matcher)
    throws SchedulerException {
    validateState();

    if(matcher == null) {
        matcher = GroupMatcher.groupEquals(Scheduler.DEFAULT_GROUP);
    }
    
    return resources.getJobStore().getTriggerKeys(matcher);
}
 
開發者ID:lamsfoundation,項目名稱:lams,代碼行數:17,代碼來源:QuartzScheduler.java


注:本文中的org.quartz.impl.matchers.GroupMatcher.groupEquals方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。