|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jasen.update.JasenAutoUpdateManager
The auto update manager is responsible for starting, stoping and scheduling the AutoUpdate thread.
All access to the auto update system should be via this class. DO NOT access any other update class directly
Method Summary | |
void |
destroy()
|
boolean |
forceUpdate()
|
JasenAutoUpdateConfiguration |
getConfiguration()
|
JasenErrorHandler |
getErrorHandler()
|
static JasenAutoUpdateManager |
getInstance()
|
void |
init(JasenAutoUpdateConfiguration configuration)
Initialises the manager with the given configuration object |
boolean |
isIdle()
|
boolean |
isInitialized()
|
boolean |
isUpdating()
Indicates whether the auto update thread has signaled an update task underway |
void |
notifyBytesRead(long bytes)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static final JasenAutoUpdateManager getInstance()
public void init(JasenAutoUpdateConfiguration configuration) throws JasenException
configuration
-
JasenException
public void destroy()
public JasenAutoUpdateConfiguration getConfiguration()
public JasenErrorHandler getErrorHandler()
public boolean isInitialized()
public boolean isIdle()
public boolean forceUpdate() throws JasenException
JasenException
public void notifyBytesRead(long bytes)
notifyBytesRead
in interface StreamReaderListener
public boolean isUpdating()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |