public class TransactionParticipantDataImpl extends Object implements TransactionParticipantData, TransactionParticipantMetaData, ConsolidatedDistributedTransactionMetaData, Externalizable, IReplicationParticipantsMetadata
| Constructor and Description | 
|---|
TransactionParticipantDataImpl()  | 
TransactionParticipantDataImpl(TransactionUniqueId transactionUniqueId,
                              int partitionIdOneBased,
                              int numberOfParticipants)  | 
| Modifier and Type | Method and Description | 
|---|---|
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)  | 
public TransactionParticipantDataImpl()
public TransactionParticipantDataImpl(TransactionUniqueId transactionUniqueId, int partitionIdOneBased, int numberOfParticipants)
transactionUniqueId - partitionIdOneBased - numberOfParticipants - public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionServerTransaction.readExternal(java.io.ObjectInput)public void readFromSwap(ObjectInput in) throws IOException, ClassNotFoundException
readFromSwap in interface ISwapExternalizableIOExceptionClassNotFoundExceptionpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionServerTransaction.writeExternal(java.io.ObjectOutput)public void writeToSwap(ObjectOutput out) throws IOException
writeToSwap in interface ISwapExternalizableIOExceptionpublic long getTransactionId()
TransactionParticipantDatagetTransactionId in interface TransactionParticipantDatapublic TransactionUniqueId getTransactionUniqueId()
TransactionParticipantMetaDatagetTransactionUniqueId in interface ConsolidatedDistributedTransactionMetaDatagetTransactionUniqueId in interface TransactionParticipantMetaDatapublic int getParticipantId()
TransactionParticipantDatagetParticipantId in interface IReplicationParticipantsMetadatagetParticipantId in interface TransactionParticipantMetaDatagetParticipantId in interface TransactionParticipantDatapublic int getTransactionParticipantsCount()
TransactionParticipantDatagetTransactionParticipantsCount in interface IReplicationParticipantsMetadatagetTransactionParticipantsCount in interface ConsolidatedDistributedTransactionMetaDatagetTransactionParticipantsCount in interface TransactionParticipantMetaDatagetTransactionParticipantsCount in interface TransactionParticipantDatapublic boolean isUnconsoliated()
public Object getContextId()
getContextId in interface IReplicationParticipantsMetadataCopyright © GigaSpaces.