public class PathChildrenCacheEvent extends Object
Modifier and Type | Class and Description |
---|---|
static class |
PathChildrenCacheEvent.Type
Type of change
|
Constructor and Description |
---|
PathChildrenCacheEvent(PathChildrenCacheEvent.Type type,
ChildData data) |
Modifier and Type | Method and Description |
---|---|
ChildData |
getData() |
List<ChildData> |
getInitialData()
Special purpose method.
|
PathChildrenCacheEvent.Type |
getType() |
String |
toString() |
public PathChildrenCacheEvent(PathChildrenCacheEvent.Type type, ChildData data)
type
- event typedata
- event data or nullpublic PathChildrenCacheEvent.Type getType()
public ChildData getData()
public 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
.Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.