|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RunOnceStateManager
Method Summary | |
---|---|
void |
initialize()
Do whatever needs to be done in order for isRunOnce() to return the right value. |
boolean |
isRunOnce()
Return true if it is safe to run something once, false otherwise. |
void |
persistState(RunOnceState state)
Update state in a way that persists across JVM restarts (eg database table, properties file, etc) |
Method Detail |
---|
void initialize()
isRunOnce()
to return the right value.
boolean isRunOnce()
void persistState(RunOnceState state)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |