org.infinispan.transaction.xa.recovery
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PreparedTxIterator
public PreparedTxIterator()
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface Iterator<Xid[]>
next
public Xid[] next()
- Specified by:
next
in interface Iterator<Xid[]>
add
public void add(List<Xid> xids)
all
public Xid[] all()
- Description copied from interface:
RecoveryManager.RecoveryIterator
- Exhaust the iterator. After this call,
Iterator.hasNext()
returns false.
- Specified by:
all
in interface RecoveryManager.RecoveryIterator
remove
public void remove()
- Specified by:
remove
in interface Iterator<Xid[]>
Copyright © 2013 JBoss, a division of Red Hat. All Rights Reserved.