Class RecoveryIterator
- java.lang.Object
-
- org.infinispan.hotrod.impl.transaction.recovery.RecoveryIterator
-
public class RecoveryIterator extends Object
The iterator return whenXAResource.recover(int)is invoked withXAResource.TMSTARTRSCAN.Initially, it returns the in-doubt transaction stored locally while it sends the request to the server. When
XAResource.recover(int)is invoked withXAResource.TMENDRSCAN, it waits for the server reply and return the remaining in-doubt transactions.- Since:
- 14.0
-
-
Method Detail
-
next
public Xid[] next()
-
finish
public void finish(long timeout)
-
-