endurox-java
Variables
XA Constants

Variables

static final int org.endurox.AtmiConst.XA_RBBASE = 100
 
static final int org.endurox.AtmiConst.XA_RBROLLBACK = XA_RBBASE
 
static final int org.endurox.AtmiConst.XA_RBCOMMFAIL = XA_RBBASE+1
 
static final int org.endurox.AtmiConst.XA_RBDEADLOCK = XA_RBBASE+2
 
static final int org.endurox.AtmiConst.XA_RBINTEGRITY = XA_RBBASE+3
 
static final int org.endurox.AtmiConst.XA_RBOTHER = XA_RBBASE+4
 
static final int org.endurox.AtmiConst.XA_RBPROTO = XA_RBBASE+5
 
static final int org.endurox.AtmiConst.XA_RBTIMEOUT = XA_RBBASE+6
 
static final int org.endurox.AtmiConst.XA_RBTRANSIENT = XA_RBBASE+7
 
static final int org.endurox.AtmiConst.XA_RBEND = XA_RBTRANSIENT
 
static final int org.endurox.AtmiConst.XA_NOMIGRATE = 9
 
static final int org.endurox.AtmiConst.XA_HEURHAZ = 8
 
static final int org.endurox.AtmiConst.XA_HEURCOM = 7
 
static final int org.endurox.AtmiConst.XA_HEURRB = 6
 
static final int org.endurox.AtmiConst.XA_HEURMIX = 5
 
static final int org.endurox.AtmiConst.XA_RETRY = 4
 
static final int org.endurox.AtmiConst.XA_RDONLY = 3
 
static final int org.endurox.AtmiConst.XA_OK = 0
 
static final int org.endurox.AtmiConst.XAER_ASYNC = -2
 
static final int org.endurox.AtmiConst.XAER_RMERR = -3
 
static final int org.endurox.AtmiConst.XAER_NOTA = -4
 
static final int org.endurox.AtmiConst.XAER_INVAL = -5
 
static final int org.endurox.AtmiConst.XAER_PROTO = -6
 
static final int org.endurox.AtmiConst.XAER_RMFAIL = -7
 
static final int org.endurox.AtmiConst.XAER_DUPID = -8
 
static final int org.endurox.AtmiConst.XAER_OUTSIDE = -9
 
static final long org.endurox.AtmiConst.TMNOFLAGS = 0x00000000L
 
static final long org.endurox.AtmiConst.TMREGISTER = 0x00000001L
 
static final long org.endurox.AtmiConst.TMNOMIGRATE = 0x00000002L
 
static final long org.endurox.AtmiConst.TMUSEASYNC = 0x00000004L
 
static final long org.endurox.AtmiConst.TMASYNC = 0x80000000L
 
static final long org.endurox.AtmiConst.TMONEPHASE = 0x40000000L
 
static final long org.endurox.AtmiConst.TMFAIL = 0x20000000L
 
static final long org.endurox.AtmiConst.TMNOWAIT = 0x10000000L
 
static final long org.endurox.AtmiConst.TMRESUME = 0x08000000L
 
static final long org.endurox.AtmiConst.TMSUCCESS = 0x04000000L
 
static final long org.endurox.AtmiConst.TMSUSPEND = 0x02000000L
 
static final long org.endurox.AtmiConst.TMSTARTRSCAN = 0x01000000L
 
static final long org.endurox.AtmiConst.TMENDRSCAN = 0x00800000L
 
static final long org.endurox.AtmiConst.TMMULTIPLE = 0x00400000L
 
static final long org.endurox.AtmiConst.TMJOIN = 0x00200000L
 

Detailed Description

xa_() return codes (resource manager reports to transaction manager)

Variable Documentation

◆ TMASYNC

final long org.endurox.AtmiConst.TMASYNC = 0x80000000L
static

perform routine asynchronously

◆ TMENDRSCAN

final long org.endurox.AtmiConst.TMENDRSCAN = 0x00800000L
static

end a recovery scan

◆ TMFAIL

final long org.endurox.AtmiConst.TMFAIL = 0x20000000L
static

dissociates caller and marks transaction branch rollback-only

◆ TMJOIN

final long org.endurox.AtmiConst.TMJOIN = 0x00200000L
static

caller is joining existing transaction branch

◆ TMMULTIPLE

final long org.endurox.AtmiConst.TMMULTIPLE = 0x00400000L
static

wait for any asynchronous operation

◆ TMNOFLAGS

final long org.endurox.AtmiConst.TMNOFLAGS = 0x00000000L
static

no resource manager features selected

◆ TMNOMIGRATE

final long org.endurox.AtmiConst.TMNOMIGRATE = 0x00000002L
static

resource manager does not support association migration

◆ TMNOWAIT

final long org.endurox.AtmiConst.TMNOWAIT = 0x10000000L
static

return if blocking condition exists

◆ TMONEPHASE

final long org.endurox.AtmiConst.TMONEPHASE = 0x40000000L
static

caller is using one-phase commit optimisation

◆ TMREGISTER

final long org.endurox.AtmiConst.TMREGISTER = 0x00000001L
static

resource manager dynamically registers

◆ TMRESUME

final long org.endurox.AtmiConst.TMRESUME = 0x08000000L
static

caller is resuming association with suspended transaction branch

◆ TMSTARTRSCAN

final long org.endurox.AtmiConst.TMSTARTRSCAN = 0x01000000L
static

start a recovery scan

◆ TMSUCCESS

final long org.endurox.AtmiConst.TMSUCCESS = 0x04000000L
static

dissociate caller from transaction branch

◆ TMSUSPEND

final long org.endurox.AtmiConst.TMSUSPEND = 0x02000000L
static

caller is suspending, not ending, association

◆ TMUSEASYNC

final long org.endurox.AtmiConst.TMUSEASYNC = 0x00000004L
static

resource manager supports asynchronous operations

◆ XA_HEURCOM

final int org.endurox.AtmiConst.XA_HEURCOM = 7
static

the transaction branch has been heuristically committed

◆ XA_HEURHAZ

final int org.endurox.AtmiConst.XA_HEURHAZ = 8
static

the transaction branch may have been heuristically completed

◆ XA_HEURMIX

final int org.endurox.AtmiConst.XA_HEURMIX = 5
static

the transaction branch has been heuristically committed and rolled back

◆ XA_HEURRB

final int org.endurox.AtmiConst.XA_HEURRB = 6
static

the transaction branch has been heuristically rolled back

◆ XA_NOMIGRATE

final int org.endurox.AtmiConst.XA_NOMIGRATE = 9
static

resumption must occur where suspension occurred

◆ XA_OK

final int org.endurox.AtmiConst.XA_OK = 0
static

normal execution

◆ XA_RBBASE

final int org.endurox.AtmiConst.XA_RBBASE = 100
static

The inclusive lower bound of the rollback codes

◆ XA_RBCOMMFAIL

final int org.endurox.AtmiConst.XA_RBCOMMFAIL = XA_RBBASE+1
static

The rollback was caused by a communication failure

◆ XA_RBDEADLOCK

final int org.endurox.AtmiConst.XA_RBDEADLOCK = XA_RBBASE+2
static

a deadlock was detected

◆ XA_RBEND

final int org.endurox.AtmiConst.XA_RBEND = XA_RBTRANSIENT
static

the inclusive upper bound of the rollback codes

◆ XA_RBINTEGRITY

final int org.endurox.AtmiConst.XA_RBINTEGRITY = XA_RBBASE+3
static

a condition that violates the integrity of the resources was detected

◆ XA_RBOTHER

final int org.endurox.AtmiConst.XA_RBOTHER = XA_RBBASE+4
static

The resource manager rolled back the transaction branch for a reason not on this list

◆ XA_RBPROTO

final int org.endurox.AtmiConst.XA_RBPROTO = XA_RBBASE+5
static

a protocol error occurred in the resource manager

◆ XA_RBROLLBACK

final int org.endurox.AtmiConst.XA_RBROLLBACK = XA_RBBASE
static

the rollback was caused by an unspecified reason

◆ XA_RBTIMEOUT

final int org.endurox.AtmiConst.XA_RBTIMEOUT = XA_RBBASE+6
static

a transaction branch took too long

◆ XA_RBTRANSIENT

final int org.endurox.AtmiConst.XA_RBTRANSIENT = XA_RBBASE+7
static

may retry the transaction branch

◆ XA_RDONLY

final int org.endurox.AtmiConst.XA_RDONLY = 3
static

the transaction branch was read-only and has been committed

◆ XA_RETRY

final int org.endurox.AtmiConst.XA_RETRY = 4
static

routine returned with no effect and may be reissued

◆ XAER_ASYNC

final int org.endurox.AtmiConst.XAER_ASYNC = -2
static

asynchronous operation already outstanding

◆ XAER_DUPID

final int org.endurox.AtmiConst.XAER_DUPID = -8
static

the XID already exists

◆ XAER_INVAL

final int org.endurox.AtmiConst.XAER_INVAL = -5
static

invalid arguments were given

◆ XAER_NOTA

final int org.endurox.AtmiConst.XAER_NOTA = -4
static

the XID is not valid

◆ XAER_OUTSIDE

final int org.endurox.AtmiConst.XAER_OUTSIDE = -9
static

resource manager doing work outside global transaction

◆ XAER_PROTO

final int org.endurox.AtmiConst.XAER_PROTO = -6
static

routine invoked in an improper context

◆ XAER_RMERR

final int org.endurox.AtmiConst.XAER_RMERR = -3
static

a resource manager error occurred in the transaction branch

◆ XAER_RMFAIL

final int org.endurox.AtmiConst.XAER_RMFAIL = -7
static

resource manager unavailable