org.gcube.application.enm.service.concurrent
Class JobScheduler
java.lang.Object
org.gcube.application.enm.service.concurrent.JobScheduler
public class JobScheduler
- extends Object
Schedules jobs to execute periodically.
- Author:
- Erik Torres
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected org.gcube.common.core.utils.logging.GCUBELog logger
INITIAL_DELAY
public static final long INITIAL_DELAY
- See Also:
- Constant Field Values
JOB_EXEC_DELAY
public static final long JOB_EXEC_DELAY
- See Also:
- Constant Field Values
MAX_JOBS_PER_RUN
public static final int MAX_JOBS_PER_RUN
- See Also:
- Constant Field Values
CLEAUNP_TIME_MILLIS
public static final long CLEAUNP_TIME_MILLIS
- See Also:
- Constant Field Values
get
public static JobScheduler get()
- Get the singleton instance of the scheduler.
- Returns:
- The singleton instance.
start
public void start()
shutdownAndAwaitTermination
public final void shutdownAndAwaitTermination()
Copyright © 2012. All Rights Reserved.