Uses of Class
org.apache.curator.framework.recipes.cache.ChildData
Packages that use ChildData
-
Uses of ChildData in org.apache.curator.framework.recipes.cache
Methods in org.apache.curator.framework.recipes.cache that return ChildDataModifier 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()
Methods in org.apache.curator.framework.recipes.cache that return types with arguments of type ChildDataModifier 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.Methods in org.apache.curator.framework.recipes.cache with parameters of type ChildDataModifier 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 pathMethod parameters in org.apache.curator.framework.recipes.cache with type arguments of type ChildDataModifier 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
Constructors in org.apache.curator.framework.recipes.cache with parameters of type ChildDataModifierConstructorDescriptionTreeCacheEvent
(TreeCacheEvent.Type type, ChildData data) TreeCacheEvent
(TreeCacheEvent.Type type, ChildData data, ChildData oldData)