com.netflix.curator.framework.recipes.cache
Class PathChildrenCacheEvent
java.lang.Object
com.netflix.curator.framework.recipes.cache.PathChildrenCacheEvent
public class PathChildrenCacheEvent
- extends Object
POJO that abstracts a change to a path
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PathChildrenCacheEvent
public PathChildrenCacheEvent(PathChildrenCacheEvent.Type type,
ChildData data)
- Parameters:
type - event typedata - event data or null
getType
public PathChildrenCacheEvent.Type getType()
- Returns:
- change type
getData
public ChildData getData()
- Returns:
- the node's data
Copyright © 2012. All Rights Reserved.