|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfabric.messages.UnauthenticatedPrepareTransactionMessage.Response
public static class UnauthenticatedPrepareTransactionMessage.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. |
boolean |
success
|
LongKeyMap<SerializedObject> |
versionConflicts
A set of objects involved in the transaction that were out of date. |
Constructor Summary | |
---|---|
UnauthenticatedPrepareTransactionMessage.Response()
Creates a Response indicating a successful prepare. |
|
UnauthenticatedPrepareTransactionMessage.Response(boolean subTransactionCreated)
|
|
UnauthenticatedPrepareTransactionMessage.Response(java.lang.String message)
Creates a Response indicating a failed prepare. |
|
UnauthenticatedPrepareTransactionMessage.Response(java.lang.String message,
LongKeyMap<SerializedObject> versionConflicts)
Creates a Response indicating a failed prepare. |
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 |
---|
public final boolean success
public final java.lang.String message
public final boolean subTransactionCreated
public final LongKeyMap<SerializedObject> versionConflicts
Constructor Detail |
---|
public UnauthenticatedPrepareTransactionMessage.Response()
public UnauthenticatedPrepareTransactionMessage.Response(boolean subTransactionCreated)
public UnauthenticatedPrepareTransactionMessage.Response(java.lang.String message)
public UnauthenticatedPrepareTransactionMessage.Response(java.lang.String message, LongKeyMap<SerializedObject> versionConflicts)
Method Detail |
---|
public void write(java.io.DataOutput out) throws java.io.IOException
write
in interface Message.Response
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |