com.netflix.curator.framework.recipes.cache
Class PathChildrenCacheEvent

java.lang.Object
  extended by com.netflix.curator.framework.recipes.cache.PathChildrenCacheEvent

public class PathChildrenCacheEvent
extends Object

POJO that abstracts a change to a path


Nested Class Summary
static class PathChildrenCacheEvent.Type
          Type of change
 
Constructor Summary
PathChildrenCacheEvent(PathChildrenCacheEvent.Type type, ChildData data)
           
 
Method Summary
 ChildData getData()
           
 PathChildrenCacheEvent.Type getType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PathChildrenCacheEvent

public PathChildrenCacheEvent(PathChildrenCacheEvent.Type type,
                              ChildData data)
Parameters:
type - event type
data - event data or null
Method Detail

getType

public PathChildrenCacheEvent.Type getType()
Returns:
change type

getData

public ChildData getData()
Returns:
the node's data


Copyright © 2012. All Rights Reserved.