public interface RunOnce
Modifier and Type | Method and Description |
---|---|
void |
changeState(RunOnceState state)
Update state in a way that persists across JVM restarts (eg database table, properties file, etc)
|
void |
initialize()
Do whatever is needed for isTrue() to return the correct value
|
boolean |
isTrue()
Indicates it is safe to run something once.
|
void initialize()
boolean isTrue()
void changeState(RunOnceState state)
Copyright © 2010–2014 The Kuali Foundation. All rights reserved.