Class PreparedTxIterator

java.lang.Object
org.infinispan.transaction.xa.recovery.PreparedTxIterator
All Implemented Interfaces:
Iterator<org.infinispan.commons.tx.XidImpl[]>, RecoveryManager.RecoveryIterator

public class PreparedTxIterator extends Object implements RecoveryManager.RecoveryIterator
Default implementation for RecoveryIterator.
Since:
5.0
Author:
Mircea.Markus@jboss.com
  • Constructor Details

    • PreparedTxIterator

      public PreparedTxIterator()
  • Method Details

    • hasNext

      public boolean hasNext()
      Specified by:
      hasNext in interface Iterator<org.infinispan.commons.tx.XidImpl[]>
    • next

      public org.infinispan.commons.tx.XidImpl[] next()
      Specified by:
      next in interface Iterator<org.infinispan.commons.tx.XidImpl[]>
    • add

      public void add(List<org.infinispan.commons.tx.XidImpl> xids)
    • all

      public org.infinispan.commons.tx.XidImpl[] 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<org.infinispan.commons.tx.XidImpl[]>