|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.2.1) Part Number E55141-01 P4 Change 1723563 on 2015/10/09 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface XAResource
This is an optional interface that XA resource provider can implement to communicate extra information to the Transaction Manager.
Field Summary | |
---|---|
static int |
TMCLUSTERSCAN Scan the entire cluster |
static int |
TMCLUSTERSCANPASSTHROUGH Provides client-side override if server has cluster-wide recovery enabled |
Fields inherited from interface javax.transaction.xa.XAResource |
---|
TMENDRSCAN, TMFAIL, TMJOIN, TMNOFLAGS, TMONEPHASE, TMRESUME, TMSTARTRSCAN, TMSUCCESS, TMSUSPEND, XA_OK, XA_RDONLY |
Method Summary | |
---|---|
abstract boolean |
detectedUnavailable() Transaction Manager calls this method of the XA resource when it detects it to be unresponsive (i.e. |
abstract int |
getDelistFlag() Normally, the Transaction Manager determines the delist flag to be used for the XAResource.end() operations. |
Methods inherited from interface javax.transaction.xa.XAResource |
---|
commit, end, forget, getTransactionTimeout, isSameRM, prepare, recover, rollback, setTransactionTimeout, start |
Field Detail |
---|
static final int TMCLUSTERSCAN
static final int TMCLUSTERSCANPASSTHROUGH
Method Detail |
---|
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.
|
Copyright 1996, 2015, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.2.1) Part Number E55141-01 P4 Change 1723563 on 2015/10/09 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |