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, updateAsync
private boolean m_successfulUpdate
private long m_lLastUpdate
private boolean m_bInternalCalculation
public java.lang.Class getUpdatedClass()
getUpdatedClass
in class Updater
protected void updateInternal()
updateInternal
in class Updater
public final long getLastUpdate()
Updater
getLastUpdate
in class Updater
protected boolean wasUpdateSuccessful()
wasUpdateSuccessful
in class Updater
Copyright © 2023. All rights reserved.