public class RecoveryIterator extends Object
XAResource.recover(int)
is invoked with XAResource.TMSTARTRSCAN
.
Initially, it returns the in-doubt transaction stored locally while it sends the request to the server. When XAResource.recover(int)
is invoked with XAResource.TMENDRSCAN
, it waits for the server reply and return the
remaining in-doubt transactions.
public Xid[] next()
public void finish(long timeout)
Copyright © 2021 JBoss by Red Hat. All rights reserved.