|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfabric.store.PrepareRequest
public final class PrepareRequest
A convenience class for grouping together the created, modified, and read object sets of a prepare request.
Field Summary | |
---|---|
long |
commitTime
The commit time of the transaction, as proposed by the worker |
java.util.Collection<SerializedObject> |
creates
The set of created objects |
LongKeyMap<java.lang.Integer> |
reads
The object numbers and version numbers of the read objects |
long |
tid
|
java.util.Collection<SerializedObject> |
writes
The collection of modified objects |
Constructor Summary | |
---|---|
PrepareRequest(long tid,
long commitTime,
java.util.Collection<SerializedObject> creates,
java.util.Collection<SerializedObject> writes,
LongKeyMap<java.lang.Integer> reads)
Create a PrepareRequest with the provided fields |
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public final long tid
public final java.util.Collection<SerializedObject> creates
public final java.util.Collection<SerializedObject> writes
public final LongKeyMap<java.lang.Integer> reads
public final long commitTime
Constructor Detail |
---|
public PrepareRequest(long tid, long commitTime, java.util.Collection<SerializedObject> creates, java.util.Collection<SerializedObject> writes, LongKeyMap<java.lang.Integer> reads)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |