Class CachingRemoteIterator.CachingRemoteIteratorCloseTask
java.lang.Object
de.aristaflow.adept2.util.CleanupTask.AbstractCleanupTask<IOException>
de.aristaflow.adept2.model.common.collection.CachingRemoteIterator.CachingRemoteIteratorCloseTask
- All Implemented Interfaces:
CleanupTask<IOException>
- Enclosing class:
- CachingRemoteIterator<T>
protected static final class CachingRemoteIterator.CachingRemoteIteratorCloseTask
extends CleanupTask.AbstractCleanupTask<IOException>
The clean-up task for closing the wrapped
RemoteIterator.-
Nested Class Summary
Nested classes/interfaces inherited from interface de.aristaflow.adept2.util.CleanupTask
CleanupTask.AbstractCleanupTask<EX extends Exception>, CleanupTask.AtomicCloseTask, CleanupTask.CloseAndResetTask, CleanupTask.MutableCloseTask -
Field Summary
FieldsFields inherited from class de.aristaflow.adept2.util.CleanupTask.AbstractCleanupTask
descriptor, logger -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates new clean-up for closing the wrappedRemoteIteratorof the designatedCachingRemoteIterator. -
Method Summary
Methods inherited from class de.aristaflow.adept2.util.CleanupTask.AbstractCleanupTask
getDescriptor
-
Field Details
-
criLogger
-
wrappedIterator
-
-
Constructor Details
-
CachingRemoteIteratorCloseTask
Creates new clean-up for closing the wrappedRemoteIteratorof the designatedCachingRemoteIterator.- Parameters:
obj- TheCachingRemoteIteratorof which to close the wrappedRemoteIterator.
-
-
Method Details
-
cleanup
Description copied from interface:CleanupTaskPerforms the actual clean-up. This method is only called byCleanupand must NOT be called directly!- Parameters:
explicit- Whether the clean-up was triggered explicitly viaCleanup.clean(). Otherwise it was triggered implicitly as a post-mortem action by the object becoming phantom reachable.- Throws:
IOException
-