All Methods Static Methods Instance Methods Concrete Methods
Modifier and Type |
Method and Description |
void |
addToPhantomGlobalXtns(ServerTransaction xtn) |
void |
addToPrepared2PCXtns(XtnEntry xtnEntry) |
void |
addTransaction(XtnEntry xtnEntry) |
XtnEntry |
addTransactionIfAbsent(XtnEntry xtnEntry) |
XtnEntry |
attachToXtnGranular(ServerTransaction txn,
boolean fromReplication)
Join the specified transaction, if not already joined.
|
void |
checkTransactionDisconnection(OperationID opid,
ServerTransaction txn) |
XtnEntry |
createTransactionEntry(ServerTransaction txn)
Create new TransactionEntry and add it to the list of managed transactions
|
XtnEntry |
createTransactionEntryIfAbsent(ServerTransaction txn,
XtnEntry newXtnEntry)
Create new TransactionEntry and add it to the list of managed transactions if such xtn does
not exist.
|
static long |
getBasicTimeForPreparedXtn() |
static long |
getExtentionTimeForPreparedXtn() |
static int |
getMaxNumberOfPreaparedXtnExtentions() |
Map<ServerTransaction,Long> |
getPhantomGlobalXtns() |
Map<ServerTransaction,Prepared2PCXtnInfo> |
getPrepared2PCXtns() |
Map<ServerTransaction,Long> |
getTimedXtns() |
static long |
getTimeToWaitForTm() |
XtnEntry |
getTransactionEntry(ServerTransaction txn)
Get the transaction entry for given transaction.
|
Lock |
getTxReadLock() |
Lock |
getTxWriteLock() |
int |
getUnusedXtnCleanTime() |
Map<ServerTransaction,XtnEntry> |
getXtnTable() |
boolean |
isLightTransaction(XtnEntry xtnEntry) |
boolean |
isPhantomGlobalXtn(ServerTransaction xtn) |
static boolean |
isSupportsPreparedXtnsExtentionTime() |
boolean |
lockXtnOnXtnEnd(XtnEntry xtnEntry)
xtn is ending (rollbak/commit) - lock + fifo lock if fifo entries in xtn
|
void |
removeFromPhantomGlobalXtns(ServerTransaction xtn) |
void |
removeFromPrepared2PCXtns(ServerTransaction xtn) |
void |
removeTransactionAfterEnd(XtnEntry xtnEntry)
Remove given transaction from handled transactions
|
void |
removeUnusedTransaction(XtnEntry xtnEntry,
boolean needLock)
Remove an unused transaction from handled transactions
|
void |
renewTransactionLease(ServerTransaction txn,
long time) |
void |
unlockXtnOnXtnEnd(XtnEntry xtnEntry,
boolean lockedXtnTable) |
boolean |
waitForActiveTransactions(long timeoutInMillis) |
boolean |
waitForFinalizingTransactions(long timeoutInMillis) |
void |
xtnLockEntryOnTemplateOperation(Context context,
IEntryHolder eh,
ITemplateHolder th,
XtnEntry alreadyLockedXtn)
/** given an entry + template- perform the xtn locks and set the appropriate
|
void |
xtnUnlockEntryOnTemplateOperation(ITemplateHolder th,
XtnEntry alreadyLockedXtn) |