T
- the domain class type returned by this iteratorpublic class ChildPathIterator<T>
extends java.lang.Object
implements java.util.Iterator<T>
ChildData
instances that are managed by PathChildrenCache
. A Converter
is used
to convert the node data into a domain object.Constructor and Description |
---|
ChildPathIterator(org.springframework.core.convert.converter.Converter<org.apache.curator.framework.recipes.cache.ChildData,T> converter,
org.apache.curator.framework.recipes.cache.PathChildrenCache cache)
Construct a ChildPathIterator.
|
public ChildPathIterator(org.springframework.core.convert.converter.Converter<org.apache.curator.framework.recipes.cache.ChildData,T> converter, org.apache.curator.framework.recipes.cache.PathChildrenCache cache)
converter
- converter from node data to domain objectcache
- source for children nodes