|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface WatchDog.Observer<A>
Method Summary | |
---|---|
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). |
Method Detail |
---|
boolean isInitialized()
void init()
WatchDog.check()
if the underlying object is not initialized
and the WatchDog.Mutable.exists()
resource does not exist}.
java.lang.Exception
void onDelete()
init()
.
java.lang.Exception
void onUpdate()
WatchDog.Mutable.lastModified()
timestamp has changed (greater than the previous value).
init()
.
java.lang.Exception
java.util.concurrent.locks.Lock getLock()
A get()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |