Class TreeCacheEvent
- java.lang.Object
-
- org.apache.curator.framework.recipes.cache.TreeCacheEvent
-
public class TreeCacheEvent extends java.lang.ObjectPOJO that abstracts a change to a path
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTreeCacheEvent.TypeType of change
-
Constructor Summary
Constructors Constructor Description TreeCacheEvent(TreeCacheEvent.Type type, ChildData data)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChildDatagetData()TreeCacheEvent.TypegetType()java.lang.StringtoString()
-
-
-
Constructor Detail
-
TreeCacheEvent
public TreeCacheEvent(TreeCacheEvent.Type type, ChildData data)
- Parameters:
type- event typedata- event data or null
-
-
Method Detail
-
getType
public TreeCacheEvent.Type getType()
- Returns:
- change type
-
getData
public ChildData getData()
- Returns:
- the node's data
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-