Interface RecoveryManager.RecoveryIterator

All Superinterfaces:
Iterator<org.infinispan.commons.tx.XidImpl[]>
All Known Implementing Classes:
PreparedTxIterator
Enclosing interface:
RecoveryManager

public static interface RecoveryManager.RecoveryIterator extends Iterator<org.infinispan.commons.tx.XidImpl[]>
Stateful structure allowing prepared-tx retrieval in a batch-oriented manner, as required by XAResource.recover(int).
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final org.infinispan.commons.tx.XidImpl[]
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.infinispan.commons.tx.XidImpl[]
    all()
    Exhaust the iterator.

    Methods inherited from interface java.util.Iterator

    forEachRemaining, hasNext, next, remove
  • Field Details

    • NOTHING

      static final org.infinispan.commons.tx.XidImpl[] NOTHING
  • Method Details

    • all

      org.infinispan.commons.tx.XidImpl[] all()
      Exhaust the iterator. After this call, Iterator.hasNext() returns false.