org.jasen.update
Class JasenAutoUpdater
java.lang.Object
java.lang.Thread
org.jasen.thread.StoppableThread
org.jasen.update.JasenAutoUpdater
- All Implemented Interfaces:
- Runnable, Stoppable
- public final class JasenAutoUpdater
- extends StoppableThread
The auto updater is a thread which continuously runs and at regular intervals checks the update site for engine updates.
If new updates are found, they are downloaded and upon successful download the engine is signalled to
block any further scan requests until the updates have been loaded.
- Author:
- Jason Polites
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield |
UPDATE_PATH
public static final String UPDATE_PATH
- See Also:
- Constant Field Values
UPDATE_LIB_PATH
public static final String UPDATE_LIB_PATH
- See Also:
- Constant Field Values
PARCEL_CACHE
public static final String PARCEL_CACHE
- See Also:
- Constant Field Values
JasenAutoUpdater
public JasenAutoUpdater(JasenAutoUpdateManager manager)
JasenAutoUpdater
public JasenAutoUpdater(JasenAutoUpdateManager manager,
String name)
- Parameters:
name
-
run
public void run()
finish
public void finish()
- Description copied from interface:
Stoppable
- Stops the thread
isRunning
public boolean isRunning()
isIdle
public boolean isIdle()
isStopped
public boolean isStopped()