fabric.messages
Class PrepareTransactionMessage.Response

java.lang.Object
  extended by fabric.messages.PrepareTransactionMessage.Response
All Implemented Interfaces:
Message.Response
Enclosing class:
PrepareTransactionMessage

public static class PrepareTransactionMessage.Response
extends java.lang.Object
implements Message.Response


Field Summary
 java.lang.String message
           
 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.
 LongKeyMap<SerializedObject> versionConflicts
          A set of objects involved in the transaction that were out of date.
 
Constructor Summary
PrepareTransactionMessage.Response()
          Creates a Response indicating a successful prepare.
PrepareTransactionMessage.Response(boolean subTransactionCreated)
           
 
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
 

Field Detail

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.

Constructor Detail

PrepareTransactionMessage.Response

public PrepareTransactionMessage.Response()
Creates a Response indicating a successful prepare.


PrepareTransactionMessage.Response

public PrepareTransactionMessage.Response(boolean subTransactionCreated)
Method Detail

write

public void write(java.io.DataOutput out)
           throws java.io.IOException
Specified by:
write in interface Message.Response
Throws:
java.io.IOException