CloseableIterable

public interface CloseableIterable implements Iterable<T> AutoCloseable
Known Indirect Subclasses

Interface that is used to iterate through a set of repository documents.

This interface is useful for repositories that require an explicit call to close access and perform clean-up actions.

Public Method Summary

abstract void
close()
Performs any actions necessary to stop accessing the repository, such as closing the connection.

Inherited Method Summary

Public Methods

public abstract void close ()

Performs any actions necessary to stop accessing the repository, such as closing the connection.