Uses of Class
org.apache.curator.framework.recipes.cache.ChildData
-
Uses of ChildData in org.apache.curator.framework.recipes.cache
Modifier and TypeMethodDescriptionNodeCache.getCurrentData()
Deprecated.Return the current data.PathChildrenCache.getCurrentData
(String fullPath) Deprecated.Return the current data for the given path.TreeCache.getCurrentData
(String fullPath) Deprecated.Return the current data for the given path.PathChildrenCacheEvent.getData()
TreeCacheEvent.getData()
TreeCacheEvent.getOldData()
Modifier and TypeMethodDescriptionReturn an entry from storageReturn an entry from storageReturn an entry from storageTreeCache.getCurrentChildren
(String fullPath) Deprecated.Return the current set of children at the given path, mapped by child name.PathChildrenCache.getCurrentData()
Deprecated.Return the current data.PathChildrenCacheEvent.getInitialData()
Special purpose method.TreeCache.iterator()
Deprecated.Return an iterator over all nodes in the cache.CuratorCacheAccessor.parentPathFilter
(String parentPath) Filter for a ChildData stream.Add an entry to storage and return any previous entry at that pathRemove the entry from storage and return any previous entry at that pathCuratorCache.stream()
Return a stream over the storage entries.CuratorCacheAccessor.stream()
Return a stream over the storage entries.CuratorCacheStorage.stream()
Return a stream over the storage entries.Modifier and TypeMethodDescriptionint
Note: this class has a natural ordering that is inconsistent with equals.void
CuratorCacheListener.event
(CuratorCacheListener.Type type, ChildData oldData, ChildData data) Called when a data is created, changed or deleted.void
Add an entry to storage and return any previous entry at that pathModifier and TypeMethodDescriptionCuratorCacheListenerBuilder.forCreates
(Consumer<ChildData> listener) Add a listener only forCuratorCacheListener.Type.NODE_CREATED
CuratorCacheListenerBuilder.forDeletes
(Consumer<ChildData> listener) Add a listener only forCuratorCacheListener.Type.NODE_DELETED
ModifierConstructorDescriptionTreeCacheEvent
(TreeCacheEvent.Type type, ChildData data) TreeCacheEvent
(TreeCacheEvent.Type type, ChildData data, ChildData oldData)