public class TransactionCache extends Object
CachedRecoveredTransaction
,
RecoveredTransaction
Constructor and Description |
---|
TransactionCache() |
Modifier and Type | Method and Description |
---|---|
static void |
addResourceRecord(Uid actionUid,
String theType,
Uid rcUid,
Resource r)
Add a new resource to a recovered transaction.
|
static Status |
get_status(Uid actionUid,
String theType)
Get the status of a transaction
|
static Status |
getCachedStatus(Uid actionUid)
Get the status of a transaction that is already in the cache
|
static Status |
getOriginalStatus(Uid actionUid,
String theType)
Get the status of a transaction as it is in the original process
(so type is not needed)
NoTransaction means the original process has gone
|
static int |
getRecoveryStatus(Uid actionUid,
String theType) |
static void |
replayPhase2(Uid actionUid,
String theType)
Replays phase 2 of a transaction.
|
public static Status get_status(Uid actionUid, String theType) throws SystemException
SystemException
public static Status getCachedStatus(Uid actionUid) throws SystemException
SystemException
public static Status getOriginalStatus(Uid actionUid, String theType) throws SystemException
SystemException
public static void addResourceRecord(Uid actionUid, String theType, Uid rcUid, Resource r)
Copyright © 2021 JBoss by Red Hat. All rights reserved.