Class CachingRemoteIterator.CachingRemoteIteratorCloseTask

    • Constructor Detail

      • CachingRemoteIteratorCloseTask

        protected CachingRemoteIteratorCloseTask​(CachingRemoteIterator<?> obj)
        Creates new clean-up for closing the wrapped RemoteIterator of the designated CachingRemoteIterator.
        Parameters:
        obj - The CachingRemoteIterator of which to close the wrapped RemoteIterator.
    • Method Detail

      • cleanup

        public void cleanup​(boolean explicit)
                     throws IOException
        Description copied from interface: CleanupTask
        Performs the actual clean-up. This method is only called by Cleanup and must NOT be called directly!
        Parameters:
        explicit - Whether the clean-up was triggered explicitly via Cleanup.clean(). Otherwise it was triggered implicitly as a post-mortem action by the object becoming phantom reachable.
        Throws:
        IOException