|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CuratorEvent
A super set of all the various Zookeeper events/background methods. IMPORTANT: the methods only return values as specified by the operation that generated them. Many methods will return null
| Method Summary | |
|---|---|
List<org.apache.zookeeper.data.ACL> |
getACLList()
|
List<String> |
getChildren()
|
Object |
getContext()
|
byte[] |
getData()
|
String |
getName()
|
String |
getPath()
|
int |
getResultCode()
|
org.apache.zookeeper.data.Stat |
getStat()
|
CuratorEventType |
getType()
check here first - this value determines the type of event and which methods will have valid values |
org.apache.zookeeper.WatchedEvent |
getWatchedEvent()
If getType() returns CuratorEventType.WATCHED this will
return the WatchedEvent |
| Method Detail |
|---|
CuratorEventType getType()
int getResultCode()
String getPath()
Object getContext()
Backgroundable.inBackground(Object)org.apache.zookeeper.data.Stat getStat()
byte[] getData()
String getName()
List<String> getChildren()
List<org.apache.zookeeper.data.ACL> getACLList()
org.apache.zookeeper.WatchedEvent getWatchedEvent()
getType() returns CuratorEventType.WATCHED this will
return the WatchedEvent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||