Class PreparedTxIterator
- java.lang.Object
-
- org.infinispan.transaction.xa.recovery.PreparedTxIterator
-
- All Implemented Interfaces:
Iterator<Xid[]>,RecoveryManager.RecoveryIterator
public class PreparedTxIterator extends Object implements RecoveryManager.RecoveryIterator
Default implementation for RecoveryIterator.- Since:
- 5.0
- Author:
- Mircea.Markus@jboss.com
-
-
Field Summary
-
Fields inherited from interface org.infinispan.transaction.xa.recovery.RecoveryManager.RecoveryIterator
NOTHING
-
-
Constructor Summary
Constructors Constructor Description PreparedTxIterator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(List<Xid> xids)Xid[]all()Exhaust the iterator.booleanhasNext()Xid[]next()voidremove()-
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
-
-
-
-
Method Detail
-
all
public Xid[] all()
Description copied from interface:RecoveryManager.RecoveryIteratorExhaust the iterator. After this call,Iterator.hasNext()returns false.- Specified by:
allin interfaceRecoveryManager.RecoveryIterator
-
-