public interface Updater
This class is responsible for updating the status of all entities registered with it. Updating an entity involves one of the following actions - carrying out an asynchronous command, periodically polling the backend process for information retrieved using xmlrpc (e.g. Server or Project), reading data from a streaming connection (e.g. Subscription) or publishing data to server (type of asynchronous command)
The actual updates may take place either in an internal thread owned by the object or by having the user code call the update(long) method periodically.
Note: Interface of this class is likely to change
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getUpdaterName() |
boolean |
isStarted() |
void |
startUpdater()
Starts the internal update thread
|
void |
stopUpdater() |
void |
update(long milliseconds)
Updates all registered entities
|
java.lang.String getUpdaterName()
void update(long milliseconds)
void startUpdater()
throws java.io.IOException
java.io.IOExceptionboolean isStarted()
void stopUpdater()