|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfabric.worker.transaction.Log
public final class Log
Stores per-transaction information. Records the objects that are created, read, and written during a single nested transaction.
Nested Class Summary | |
---|---|
static class |
Log.CommitState
|
Field Summary | |
---|---|
Log.CommitState |
commitState
Indicates the state of commit for the top-level transaction. |
protected java.util.List<Object._Impl> |
creates
A collection of all objects created in this transaction or completed sub-transactions. |
protected WeakReferenceArrayList<Object._Impl> |
localStoreCreates
Tracks objects created on local store. |
protected WeakReferenceArrayList<Object._Impl> |
localStoreWrites
Tracks objects on local store that have been modified. |
static Log |
NO_READER
|
protected OidKeyHashMap<ReadMapEntry> |
reads
Maps OIDs to readMap entries for objects read in this
transaction or completed sub-transactions. |
protected java.util.List<ReadMapEntry> |
readsReadByParent
Reads on objects that have been read by an ancestor transaction. |
AbstractSecurityCache |
securityCache
|
java.util.List<RemoteWorker> |
workersCalled
The set of workers called by this transaction and completed sub-transactions. |
protected java.util.List<Object._Impl> |
writes
A collection of all objects modified in this transaction or completed sub-transactions. |
Constructor Summary | |
---|---|
Log(TransactionID tid)
Creates a log with the given transaction ID. |
Method Summary | |
---|---|
void |
flagRetry()
Sets the retry flag on this and the logs of all sub-transactions. |
Log |
getChild()
|
TransactionID |
getTid()
|
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 |
Field Detail |
---|
public static final Log NO_READER
protected final OidKeyHashMap<ReadMapEntry> reads
readMap
entries for objects read in this
transaction or completed sub-transactions. Reads from running or aborted
sub-transactions don't count here.
protected final java.util.List<ReadMapEntry> readsReadByParent
protected final java.util.List<Object._Impl> creates
protected final WeakReferenceArrayList<Object._Impl> localStoreCreates
creates
.
protected final java.util.List<Object._Impl> writes
protected final WeakReferenceArrayList<Object._Impl> localStoreWrites
writes
.
public final java.util.List<RemoteWorker> workersCalled
public final Log.CommitState commitState
public final AbstractSecurityCache securityCache
Constructor Detail |
---|
public Log(TransactionID tid)
Method Detail |
---|
public void flagRetry()
public TransactionID getTid()
public Log getChild()
public void renumberObject(Store store, long onum, long newOnum)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |