Class WeakObjectRegistry.AutoCloseableIterator<E>
java.lang.Object
org.eclipse.rdf4j.sail.memory.model.WeakObjectRegistry.AutoCloseableIterator<E>
- All Implemented Interfaces:
AutoCloseable
,Iterator<E>
- Enclosing class:
WeakObjectRegistry<K,
E extends K>
public static class WeakObjectRegistry.AutoCloseableIterator<E>
extends Object
implements Iterator<E>, AutoCloseable
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) boolean
private final Iterator
<Map<E, WeakReference<E>>> private final WeakObjectRegistry.AdderBasedReadWriteLock[]
(package private) boolean[]
-
Constructor Summary
ConstructorsConstructorDescriptionAutoCloseableIterator
(Map<E, WeakReference<E>>[] objectMap, WeakObjectRegistry.AdderBasedReadWriteLock[] locks) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining, remove
-
Field Details
-
iterator
-
locks
-
currentIterator
-
readLocks
boolean[] readLocks -
init
boolean init
-
-
Constructor Details
-
AutoCloseableIterator
public AutoCloseableIterator(Map<E, WeakReference<E>>[] objectMap, WeakObjectRegistry.AdderBasedReadWriteLock[] locks)
-
-
Method Details