Class EmptyRemoteIterator<T>

  • Type Parameters:
    T - The type of the elements should be iterated but no appropriate elements exist.
    All Implemented Interfaces:
    RemoteIterator<List<T>>, de.aristaflow.adept2.model.communication.ServerSideProxy, de.aristaflow.adept2.model.communication.TimeTrackingSsProxy, Closeable, AutoCloseable

    public class EmptyRemoteIterator<T>
    extends AbstractTimeTrackingRemoteIterator<T>
    This class implements a remote iterator for empty results. It is a snapshot and always consistent. It has an expiring alive time thus allowing to release the occupied memory even if no explicit close() occurs.

    close() only resets fields so this class has no need for a post-mortem cleanup.