| 构造器和说明 |
|---|
DCWatcher() |
| 限定符和类型 | 方法和说明 |
|---|---|
Datastore |
getObject()
获取通过过来的对象
|
boolean |
hasNotify()
消息是否已经通知
|
boolean |
isRetrieveWithFailure()
判断观察获取值失败后,是否重新查询
|
boolean |
isWatched()
是否被观察者,即消息产生者
|
void |
notifyWatcher(Datastore ds)
通知观察者
|
void |
setWatched(boolean isWatched)
设置是否观察者
|
void |
setWatcherFailure2Retrieve(boolean failre2Retrieve)
设置观察失败后同否重新查询
|
public void notifyWatcher(Datastore ds)
Watcher_InotifyWatcher 在接口中 Watcher_I<Datastore>ds - Tpublic boolean hasNotify()
Watcher_Ipublic boolean isWatched()
Watcher_Ipublic void setWatched(boolean isWatched)
Watcher_IsetWatched 在接口中 Watcher_I<Datastore>isWatched - booleanpublic void setWatcherFailure2Retrieve(boolean failre2Retrieve)
Watcher_IsetWatcherFailure2Retrieve 在接口中 Watcher_I<Datastore>failre2Retrieve - booleanpublic boolean isRetrieveWithFailure()
Watcher_IisRetrieveWithFailure 在接口中 Watcher_I<Datastore>