public static class WatchDog.DefaultObserver<A> extends java.lang.Object implements WatchDog.Observer<A>
Modifier and Type | Field and Description |
---|---|
protected java.util.concurrent.locks.ReadWriteLock |
lock |
protected A |
object |
Constructor and Description |
---|
WatchDog.DefaultObserver() |
protected final java.util.concurrent.locks.ReadWriteLock lock
protected A object
public boolean isInitialized()
isInitialized
in interface WatchDog.Observer<A>
public void init()
init
in interface WatchDog.Observer<A>
public void reset()
reset
in interface WatchDog.Observer<A>
public void onDelete()
onDelete
in interface WatchDog.Observer<A>
public void onUpdate()
onUpdate
in interface WatchDog.Observer<A>
public java.util.concurrent.locks.Lock getLock()
getLock
in interface WatchDog.Observer<A>
public A get()
get
in interface WatchDog.Observer<A>