|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfabric.worker.transaction.TransactionRegistry
public final class TransactionRegistry
Holds a map from top-level transaction IDs to their logs.
Constructor Summary | |
---|---|
TransactionRegistry()
|
Method Summary | |
---|---|
static Log |
getInnermostLog(long tid)
Returns the innermost transaction log for the given top-level tid (or null if no such log exists). |
static Log |
getOrCreateInnermostLog(TransactionID tid)
Returns the innermost transaction log whose top-level tid the same as that of the given tid. |
static void |
register(Log log)
Registers a newly created top-level transaction log. |
static void |
remove(long topTid)
|
static void |
renumberObject(Store store,
long onum,
long newOnum)
Deprecated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TransactionRegistry()
Method Detail |
---|
public static Log getInnermostLog(long tid)
public static Log getOrCreateInnermostLog(TransactionID tid)
public static void register(Log log)
public static void remove(long topTid)
public static void renumberObject(Store store, long onum, long newOnum)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |