public class JobFacade extends Object
Constructor and Description |
---|
JobFacade(ToolkitDSHolder toolkitDSHolder) |
Modifier and Type | Method and Description |
---|---|
void |
addBlockedJob(JobKey key) |
boolean |
addGroup(String name) |
boolean |
addPausedGroup(String name) |
boolean |
blockedJobsContain(JobKey jobKey) |
void |
clearPausedJobGroups() |
boolean |
containsKey(JobKey key) |
JobWrapper |
get(JobKey jobKey) |
Set<String> |
getAllGroupNames() |
boolean |
hasGroup(String name) |
int |
numberOfJobs() |
boolean |
pausedGroupsContain(String group) |
void |
put(JobKey jobKey,
JobWrapper jobWrapper) |
JobWrapper |
remove(JobKey jobKey) |
boolean |
removeBlockedJob(JobKey key) |
boolean |
removeGroup(String group) |
boolean |
removePausedJobGroup(String group) |
public JobFacade(ToolkitDSHolder toolkitDSHolder)
public JobWrapper get(JobKey jobKey)
public void put(JobKey jobKey, JobWrapper jobWrapper)
public boolean containsKey(JobKey key)
public boolean hasGroup(String name)
public boolean addGroup(String name)
public boolean addPausedGroup(String name)
public JobWrapper remove(JobKey jobKey)
public boolean removeGroup(String group)
public boolean pausedGroupsContain(String group)
public boolean blockedJobsContain(JobKey jobKey)
public int numberOfJobs()
public boolean removePausedJobGroup(String group)
public void clearPausedJobGroups()
public void addBlockedJob(JobKey key)
public boolean removeBlockedJob(JobKey key)
Copyright 2001-2019, Terracotta, Inc.