public static interface WatchDog.Observer<A>
| Modifier and Type | Method and Description |
|---|---|
A |
get() |
java.util.concurrent.locks.Lock |
getLock() |
void |
init()
Called by
WatchDog.check() if the underlying object is not initialized and the WatchDog.Mutable.exists() resource does not exist}. |
boolean |
isInitialized() |
void |
onDelete()
Called only if the resource previously existed and now does not exist.
|
void |
onUpdate()
Called only if the resource previously existed but the
WatchDog.Mutable.lastModified() timestamp has changed (greater than the previous value). |
void |
reset() |
boolean isInitialized()
void init()
WatchDog.check() if the underlying object is not initialized and the WatchDog.Mutable.exists() resource does not exist}.
java.lang.Exceptionvoid reset()
void onDelete()
init() .java.lang.Exceptionvoid onUpdate()
WatchDog.Mutable.lastModified() timestamp has changed (greater than the previous value).
init() .java.lang.Exceptionjava.util.concurrent.locks.Lock getLock()
A get()