API Overview API Index Package Overview Direct link to this page
JavaOnTracks 0.1.2
  net.jot.scheduler. JOTScheduler View Source
Author(s)
thibautc
Since
Version
Serial
Hierarchy
 Object
      Thread
          JOTScheduler
Implements
Subclasses
Description
public class JOTScheduler
  Generic scheduler, that can run scheduled task/items.
See also:   
Constructors
private JOTScheduler ()
Methods
Hide/Show inherited methods
publicstatic int activeCount () [Inherited From Thread]
publicfinal void checkAccess () [Inherited From Thread]
@Deprecated
publicnative int countStackFrames () [Inherited From Thread]
publicstaticnative Thread currentThread () [Inherited From Thread]
@Deprecated
public void destroy () [Inherited From Thread]
publicstatic void dumpStack () [Inherited From Thread]
publicstatic int enumerate (Thread arg0) [Inherited From Thread]
publicstatic Map<Thread, StackTraceElement> getAllStackTraces () [Inherited From Thread]
public ClassLoader getContextClassLoader () [Inherited From Thread]
publicstatic UncaughtExceptionHandler getDefaultUncaughtExceptionHandler () [Inherited From Thread]
public long getId () [Inherited From Thread]
publicfinalstatic JOTScheduler getInstance ()
publicfinal String getName () [Inherited From Thread]
publicfinal int getPriority () [Inherited From Thread]
public StackTraceElement getStackTrace () [Inherited From Thread]
public State getState () [Inherited From Thread]
publicfinal ThreadGroup getThreadGroup () [Inherited From Thread]
public UncaughtExceptionHandler getUncaughtExceptionHandler () [Inherited From Thread]
publicstaticnative boolean holdsLock (Object arg0) [Inherited From Thread]
public void interrupt () [Inherited From Thread]
publicstatic boolean interrupted () [Inherited From Thread]
publicfinalnative boolean isAlive () [Inherited From Thread]
publicfinal boolean isDaemon () [Inherited From Thread]
public boolean isInterrupted () [Inherited From Thread]
publicfinal void join () throws InterruptedException [Inherited From Thread]
publicfinalsynchronized void join (long arg0) throws InterruptedException [Inherited From Thread]
publicfinalsynchronized void join (long arg0, int arg1) throws InterruptedException [Inherited From Thread]
public void registerItem (JOTScheduledItem item, JOTSchedulingOptions options)
  Register an item(ie: a job) in the scheduler.
@Deprecated
publicfinal void resume () [Inherited From Thread]
public void run () [Overrides Thread]
  Main scheduler loop.
public void setContextClassLoader (ClassLoader arg0) [Inherited From Thread]
publicfinal void setDaemon (boolean arg0) [Inherited From Thread]
publicstatic void setDefaultUncaughtExceptionHandler (UncaughtExceptionHandler arg0) [Inherited From Thread]
publicfinal void setName (String arg0) [Inherited From Thread]
publicfinal void setPriority (int arg0) [Inherited From Thread]
public void setUncaughtExceptionHandler (UncaughtExceptionHandler arg0) [Inherited From Thread]
public void shutdown () throws Exception
  Shuts down the scheduler and release resources
publicstaticnative void sleep (long arg0) throws InterruptedException [Inherited From Thread]
publicstatic void sleep (long arg0, int arg1) throws InterruptedException [Inherited From Thread]
publicsynchronized void start () [Inherited From Thread]
@Deprecated
publicfinal void stop () [Inherited From Thread]
@Deprecated
publicfinalsynchronized void stop (Throwable arg0) [Inherited From Thread]
@Deprecated
publicfinal void suspend () [Inherited From Thread]
public String toString () [Inherited From Thread]
public void unregisterItem (JOTScheduledItem item)
  Unregisters a job from the sheculer, ie: remove it.
publicstaticnative void yield () [Inherited From Thread]
Fields
Hide/Show inherited fields
publicfinalstatic int MAX_PRIORITY = "10" [Inherited From Thread]
publicfinalstatic int MIN_PRIORITY = "1" [Inherited From Thread]
publicfinalstatic int NORM_PRIORITY = "5" [Inherited From Thread]
Nested Classes
  Thread.State
  Thread.UncaughtExceptionHandler
Generated By: JavaOnTracks Doclet 0.1.5     ©Thibaut Colar