当前位置: 首页>>代码示例>>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;未经允许,请勿转载。