/** * Get the status of a transaction that is already in the cache */ public static Status getCachedStatus (Uid actionUid) throws SystemException { TransactionCacheItem cacheItem = getKnown (actionUid); if (cacheItem != null) { return cacheItem.getStatus(); } return Status.StatusNoTransaction; // used to mean it isn't cached }
/** * Get the status of a transaction that is already in the cache */ public static Status getCachedStatus (Uid actionUid) throws SystemException { TransactionCacheItem cacheItem = getKnown (actionUid); if (cacheItem != null) { return cacheItem.getStatus(); } return Status.StatusNoTransaction; // used to mean it isn't cached }