public class AccountUpdater extends Updater
Updater.ConstantUpdateInterval, Updater.DynamicUpdateInterval, Updater.IUpdateInterval, Updater.ObservableInfo, Updater.ObservableInfoContainer| Modifier and Type | Field and Description |
|---|---|
private boolean |
m_bInternalCalculation |
private long |
m_lLastUpdate |
private boolean |
m_successfulUpdate |
| Constructor and Description |
|---|
AccountUpdater(boolean a_bInternalCalculation) |
| Modifier and Type | Method and Description |
|---|---|
long |
getLastUpdate()
Should return Long.MAX_VALUE if no update was done since program start.
|
java.lang.Class |
getUpdatedClass()
getUpdatedClass
|
protected void |
updateInternal()
Does the update and should tell if it was successful or not.
|
protected boolean |
wasUpdateSuccessful()
wasUpdateSuccessful
|
getObservableInfo, getUpdatedClassName, getUpdateInterval, isFirstUpdateDone, isUpdatePaused, needsUpdate, start, stop, update, update, update, updateAsyncprivate boolean m_successfulUpdate
private long m_lLastUpdate
private boolean m_bInternalCalculation
public java.lang.Class getUpdatedClass()
getUpdatedClass in class Updaterprotected void updateInternal()
updateInternal in class Updaterpublic final long getLastUpdate()
UpdatergetLastUpdate in class Updaterprotected boolean wasUpdateSuccessful()
wasUpdateSuccessful in class UpdaterCopyright © 2023. All rights reserved.