|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Thread
de.hillenbrand.datatypes.Cron
public class Cron
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.lang.Thread |
|---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
| Field Summary | |
|---|---|
static int |
ONE_DAY
|
static int |
ONE_HOUR
|
static int |
ONE_MINUTE
|
static int |
ONE_SECOND
|
static int |
ONE_WEEK
|
| Fields inherited from class java.lang.Thread |
|---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
|---|---|
protected |
Cron()
|
| Method Summary | |
|---|---|
void |
add(CronJob cronJob,
int seconds)
|
void |
add(CronJob cronJob,
int seconds,
boolean once)
|
static Cron |
getInstance()
|
static void |
main(java.lang.String[] args)
|
void |
run()
|
| Methods inherited from class java.lang.Thread |
|---|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int ONE_SECOND
public static final int ONE_MINUTE
public static final int ONE_HOUR
public static final int ONE_DAY
public static final int ONE_WEEK
| Constructor Detail |
|---|
protected Cron()
| Method Detail |
|---|
public static Cron getInstance()
public void add(CronJob cronJob,
int seconds)
public void add(CronJob cronJob,
int seconds,
boolean once)
public void run()
run in interface java.lang.Runnablerun in class java.lang.Threadpublic static void main(java.lang.String[] args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||