Class TreeCacheEvent
java.lang.Object
org.apache.curator.framework.recipes.cache.TreeCacheEvent
POJO that abstracts a change to a path
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionTreeCacheEvent
(TreeCacheEvent.Type type, ChildData data) TreeCacheEvent
(TreeCacheEvent.Type type, ChildData data, ChildData oldData) -
Method Summary
-
Constructor Details
-
TreeCacheEvent
- Parameters:
type
- event typedata
- event data or null
-
TreeCacheEvent
- Parameters:
type
- event typedata
- event data or nulloldData
- event oldData or null
-
-
Method Details
-
getType
- Returns:
- change type
-
getData
- Returns:
- the node's data
-
getOldData
- Returns:
- the node's old data when the type is
TreeCacheEvent.Type.NODE_UPDATED
-
toString
-