Class IteratorTxnTracker<T>
java.lang.Object
org.apache.jena.atlas.iterator.IteratorWrapper<T>
org.apache.jena.dboe.transaction.txn.IteratorTxnTracker<T>
- All Implemented Interfaces:
Iterator<T>,org.apache.jena.atlas.iterator.IteratorCloseable<T>,org.apache.jena.atlas.lib.Closeable
public class IteratorTxnTracker<T>
extends org.apache.jena.atlas.iterator.IteratorWrapper<T>
Wrapper to check that an iterator is used inside its originating transaction.
-
Constructor Summary
ConstructorsConstructorDescriptionIteratorTxnTracker(Iterator<T> iterator, TransactionalSystem txnSystem, TxnId txnId) -
Method Summary
Methods inherited from class org.apache.jena.atlas.iterator.IteratorWrapper
closeMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
IteratorTxnTracker
-
-
Method Details
-
hasNext
public boolean hasNext() -
next
-
remove
public void remove()
-