public class PathChildrenCacheEvent
extends java.lang.Object
| Modifier and Type | Class | Description |
|---|---|---|
static class |
PathChildrenCacheEvent.Type |
Type of change
|
| Constructor | Description |
|---|---|
PathChildrenCacheEvent(PathChildrenCacheEvent.Type type,
ChildData data) |
| Modifier and Type | Method | Description |
|---|---|---|
ChildData |
getData() |
|
java.util.List<ChildData> |
getInitialData() |
Special purpose method.
|
PathChildrenCacheEvent.Type |
getType() |
|
java.lang.String |
toString() |
public PathChildrenCacheEvent(PathChildrenCacheEvent.Type type, ChildData data)
type - event typedata - event data or nullpublic PathChildrenCacheEvent.Type getType()
public ChildData getData()
public java.util.List<ChildData> getInitialData()
PathChildrenCacheEvent.Type.INITIALIZED
event is received, you can call this method to
receive the initial state of the cache.PathChildrenCacheEvent.Type.INITIALIZED events. Otherwise, null.public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2011–2018 The Apache Software Foundation. All rights reserved.