public class SimpleJob extends ScheduledJob
CACHE_SIZE_DEFAULT, CACHE_SIZE_KEY, NAME, PREFIX
Constructor and Description |
---|
SimpleJob() |
Modifier and Type | Method and Description |
---|---|
static int |
getCounter()
Returns the counter value.
|
void |
run(JobEntry job)
Run the Jobentry from the scheduler queue.
|
static void |
setCounter(int i)
Sets the counter.
|
getPrefix
getRunData
public SimpleJob()
public void run(JobEntry job) throws Exception
run
in class ScheduledJob
job
- The job to run.Exception
- generic exceptionpublic static int getCounter()
public static void setCounter(int i)
i
- The new counter valueCopyright © 2000-2015 The Apache Software Foundation. All Rights Reserved.