org.terracotta.quartz.wrappers
Class TriggerFacade
java.lang.Object
org.terracotta.quartz.wrappers.TriggerFacade
public class TriggerFacade
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TriggerFacade
public TriggerFacade(ToolkitDSHolder toolkitDSHolder)
get
public TriggerWrapper get(TriggerKey key)
containsKey
public boolean containsKey(TriggerKey key)
put
public void put(TriggerKey key,
TriggerWrapper value)
remove
public TriggerWrapper remove(TriggerKey key)
getFiredTrigger
public FiredTrigger getFiredTrigger(String key)
containsFiredTrigger
public boolean containsFiredTrigger(String key)
putFiredTrigger
public void putFiredTrigger(String key,
FiredTrigger value)
removeFiredTrigger
public FiredTrigger removeFiredTrigger(String key)
addGroup
public boolean addGroup(String name)
hasGroup
public boolean hasGroup(String name)
removeGroup
public boolean removeGroup(String name)
addPausedGroup
public boolean addPausedGroup(String name)
pausedGroupsContain
public boolean pausedGroupsContain(String name)
removePausedGroup
public boolean removePausedGroup(String name)
allTriggersGroupNames
public Set<String> allTriggersGroupNames()
allPausedTriggersGroupNames
public Set<String> allPausedTriggersGroupNames()
allTriggerKeys
public Set<TriggerKey> allTriggerKeys()
allFiredTriggers
public Collection<FiredTrigger> allFiredTriggers()
numberOfTriggers
public int numberOfTriggers()
getTriggerWrappersForJob
public List<TriggerWrapper> getTriggerWrappersForJob(JobKey key)
getTriggerWrappersForCalendar
public List<TriggerWrapper> getTriggerWrappersForCalendar(String calName)
removeAllPausedGroups
public void removeAllPausedGroups(Collection<String> groups)
Copyright 2001-2019, Terracotta, Inc.