public interface XAResource
extends javax.transaction.xa.XAResource
Modifier and Type | Field and Description |
---|---|
static int |
DETERMINERXIDSCAN
Flag for recover scan used internally to return array of Xids of all determiners
delimited by special Xids that indicate the determiner subsequent Xids belong to.
|
static int |
TMCLUSTERSCAN
Scan the entire cluster
|
static int |
TMCLUSTERSCANPASSTHROUGH
Provides client-side override if server has cluster-wide recovery enabled
|
Modifier and Type | Method and Description |
---|---|
boolean |
detectedUnavailable()
Transaction Manager calls this method of the XA resource when
it detects it to be unresponsive (i.e.
|
int |
getDelistFlag()
Normally, the Transaction Manager determines the delist flag
to be used for the XAResource.end() operations.
|
static final int TMCLUSTERSCAN
static final int TMCLUSTERSCANPASSTHROUGH
static final int DETERMINERXIDSCAN
int getDelistFlag()
boolean detectedUnavailable()
weblogic.transaction.TransactionManager
's
unregisterResource
method, followed by
registerResource
, or
registerStaticResource
, or
registerDynamicResource
.
If this interface is not implemented, the Transaction Manager
will mark the resource to be unhealthy once it detects it to be
unresponsive. Also, in this case, it is up to the resource
provider to refresh and re-register at appropriate time. If
nothing is done explicitly, the Transaction Manager will declare
the resource healthy again after MaxResourceUnavailableMillis.