Class BaseResourceCollectionWrapper

    • Constructor Detail

      • BaseResourceCollectionWrapper

        public BaseResourceCollectionWrapper()
    • Method Detail

      • createIterator

        protected java.util.Iterator<Resource> createIterator()
        Description copied from class: AbstractResourceCollectionWrapper
        Do create an iterator on the resource collection. The creation of the iterator is allowed to not be thread safe whereas the iterator itself should. The returned iterator will be wrapped into the FailFast one.
        Specified by:
        createIterator in class AbstractResourceCollectionWrapper
        Returns:
        the iterator on the resource collection
      • getCollection

        protected abstract java.util.Collection<Resource> getCollection()
        Template method for subclasses to return a Collection of Resources.
        Returns:
        Collection.