public class JobQueue
extends Object
Modifier and Type | Field and Description |
---|---|
static String |
LSF_AVAILABLE_OPTION |
static String |
LSF_QUEUE_OPTION |
static String |
LSF_RESOURCE_OPTION |
static int |
MAX_LOCAL_CONCURRENT_JOBS |
static int |
MAX_LSF_CONCURRENT_JOBS |
static boolean |
USE_LSF_IF_AVAILABLE |
Constructor and Description |
---|
JobQueue() |
JobQueue(boolean printJobStart) |
Modifier and Type | Method and Description |
---|---|
boolean |
addJob(Job j) |
boolean |
addRunningJob(Job j) |
static Job |
createJob()
Create a new Job.
|
int |
getCount() |
static boolean |
isLSFAvailable() |
boolean |
killAllRunningJobs() |
static void |
main(String[] args) |
boolean |
runAllToCompletion() |
boolean |
runAllToCompletion(int maxNumRunningJobs) |
public static int MAX_LOCAL_CONCURRENT_JOBS
public static int MAX_LSF_CONCURRENT_JOBS
public static boolean USE_LSF_IF_AVAILABLE
public static final String LSF_AVAILABLE_OPTION
public static final String LSF_RESOURCE_OPTION
public static final String LSF_QUEUE_OPTION
public boolean addJob(Job j)
public boolean addRunningJob(Job j)
public boolean runAllToCompletion()
public boolean runAllToCompletion(int maxNumRunningJobs)
public boolean killAllRunningJobs()
public static boolean isLSFAvailable()
public static Job createJob()
public static void main(String[] args) throws InterruptedException
InterruptedException
public int getCount()