|
GigaSpaces XAP 10.0.1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.jini.core.transaction.server.TransactionParticipantDataImpl
public class TransactionParticipantDataImpl
Contains ServerTransaction meta data for distributed transactions that have more than 1 participant.
| Constructor Summary | |
|---|---|
TransactionParticipantDataImpl()
|
|
TransactionParticipantDataImpl(TransactionUniqueId transactionUniqueId,
int partitionIdOneBased,
int numberOfParticipants)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
Object |
getContextId()
|
int |
getParticipantId()
The id of the space that committed the transaction. |
long |
getTransactionId()
The id of the distributed transaction |
int |
getTransactionParticipantsCount()
Number of participants in transaction |
TransactionUniqueId |
getTransactionUniqueId()
The id of the transaction |
int |
hashCode()
|
boolean |
isUnconsoliated()
|
void |
readExternal(ObjectInput in)
|
void |
readFromSwap(ObjectInput in)
|
String |
toString()
|
void |
writeExternal(ObjectOutput out)
|
void |
writeToSwap(ObjectOutput out)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TransactionParticipantDataImpl()
public TransactionParticipantDataImpl(TransactionUniqueId transactionUniqueId,
int partitionIdOneBased,
int numberOfParticipants)
transactionUniqueId - partitionIdOneBased - numberOfParticipants - | Method Detail |
|---|
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
readExternal in interface Externalizablein -
IOException
ClassNotFoundExceptionServerTransaction.readExternal(java.io.ObjectInput)
public void readFromSwap(ObjectInput in)
throws IOException,
ClassNotFoundException
readFromSwap in interface com.gigaspaces.internal.server.space.redolog.storage.bytebuffer.ISwapExternalizableIOException
ClassNotFoundException
public void writeExternal(ObjectOutput out)
throws IOException
writeExternal in interface Externalizableout -
IOExceptionServerTransaction.writeExternal(java.io.ObjectOutput)
public void writeToSwap(ObjectOutput out)
throws IOException
writeToSwap in interface com.gigaspaces.internal.server.space.redolog.storage.bytebuffer.ISwapExternalizableIOExceptionpublic long getTransactionId()
TransactionParticipantData
getTransactionId in interface TransactionParticipantDatapublic TransactionUniqueId getTransactionUniqueId()
TransactionParticipantMetaData
getTransactionUniqueId in interface ConsolidatedDistributedTransactionMetaDatagetTransactionUniqueId in interface TransactionParticipantMetaDatapublic int getParticipantId()
TransactionParticipantData
getParticipantId in interface com.gigaspaces.internal.cluster.node.impl.packets.data.IReplicationParticipantsMetadatagetParticipantId in interface TransactionParticipantMetaDatagetParticipantId in interface TransactionParticipantDatapublic int getTransactionParticipantsCount()
TransactionParticipantData
getTransactionParticipantsCount in interface com.gigaspaces.internal.cluster.node.impl.packets.data.IReplicationParticipantsMetadatagetTransactionParticipantsCount in interface ConsolidatedDistributedTransactionMetaDatagetTransactionParticipantsCount in interface TransactionParticipantMetaDatagetTransactionParticipantsCount in interface TransactionParticipantDatapublic boolean isUnconsoliated()
public String toString()
toString in class Objectpublic Object getContextId()
getContextId in interface com.gigaspaces.internal.cluster.node.impl.packets.data.IReplicationParticipantsMetadatapublic int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
GigaSpaces XAP 10.0.1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||