public class RecoveryXids extends Object
Constructor and Description |
---|
RecoveryXids(XAResource xares) |
Modifier and Type | Method and Description |
---|---|
boolean |
contains(Xid xid) |
boolean |
equals(Object obj) |
boolean |
isEmpty() |
boolean |
isSameRM(XAResource xares) |
boolean |
isStale() |
void |
nextScan(Xid[] trans)
Update our tracking with results of a new recovery scan pass
|
boolean |
remove(Xid xid) |
int |
size() |
Xid[] |
toRecover()
Return any Xids that should be considered for recovery.
|
boolean |
updateIfEquivalentRM(XAResource xaResource,
Xid[] xids)
If supplied xids contains any values seen on prev scans, replace the existing
XAResource with the supplied one and return true.
|
public RecoveryXids(XAResource xares)
public final void nextScan(Xid[] trans)
trans
- the Xids seen during the new scan.public final Xid[] toRecover()
public final boolean isSameRM(XAResource xares)
public boolean contains(Xid xid)
public boolean isStale()
public boolean remove(Xid xid)
public boolean isEmpty()
public boolean updateIfEquivalentRM(XAResource xaResource, Xid[] xids)
xaResource
- xids
- public int size()
Copyright © 2021 JBoss by Red Hat. All rights reserved.