fabric.messages
Class PrepareTransactionMessage.Response
java.lang.Object
fabric.messages.PrepareTransactionMessage.Response
- All Implemented Interfaces:
- Message.Response
- Enclosing class:
- PrepareTransactionMessage
public static class PrepareTransactionMessage.Response
- extends java.lang.Object
- implements Message.Response
Method Summary |
void |
write(java.io.DataOutput out)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
message
public final java.lang.String message
subTransactionCreated
public final boolean subTransactionCreated
- If the remote node is a store, this will indicate whether the worker
should send a commit/abort message to the store's worker to commit/abort
a sub-transaction. (This happens when Statistics objects are created
during transaction prepare.)
versionConflicts
public final LongKeyMap<SerializedObject> versionConflicts
- A set of objects involved in the transaction that were out of date.
PrepareTransactionMessage.Response
public PrepareTransactionMessage.Response()
- Creates a Response indicating a successful prepare.
PrepareTransactionMessage.Response
public PrepareTransactionMessage.Response(boolean subTransactionCreated)
write
public void write(java.io.DataOutput out)
throws java.io.IOException
- Specified by:
write
in interface Message.Response
- Throws:
java.io.IOException