public class TransactionParticipantDataImpl extends Object implements TransactionParticipantData, TransactionParticipantMetaData, ConsolidatedDistributedTransactionMetaData, SmartExternalizable, 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) |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
enabledSmartExternalizableWithReference
public TransactionParticipantDataImpl()
public TransactionParticipantDataImpl(TransactionUniqueId transactionUniqueId, int partitionIdOneBased, int numberOfParticipants)
transactionUniqueId
- partitionIdOneBased
- numberOfParticipants
- public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
ServerTransaction.readExternal(java.io.ObjectInput)
public void readFromSwap(ObjectInput in) throws IOException, ClassNotFoundException
readFromSwap
in interface ISwapExternalizable
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
ServerTransaction.writeExternal(java.io.ObjectOutput)
public void writeToSwap(ObjectOutput out) throws IOException
writeToSwap
in interface ISwapExternalizable
IOException
public long getTransactionId()
TransactionParticipantData
getTransactionId
in interface TransactionParticipantData
public TransactionUniqueId getTransactionUniqueId()
TransactionParticipantMetaData
getTransactionUniqueId
in interface ConsolidatedDistributedTransactionMetaData
getTransactionUniqueId
in interface TransactionParticipantMetaData
public int getParticipantId()
TransactionParticipantData
getParticipantId
in interface IReplicationParticipantsMetadata
getParticipantId
in interface TransactionParticipantMetaData
getParticipantId
in interface TransactionParticipantData
public int getTransactionParticipantsCount()
TransactionParticipantData
getTransactionParticipantsCount
in interface IReplicationParticipantsMetadata
getTransactionParticipantsCount
in interface ConsolidatedDistributedTransactionMetaData
getTransactionParticipantsCount
in interface TransactionParticipantMetaData
getTransactionParticipantsCount
in interface TransactionParticipantData
public boolean isUnconsoliated()
public Object getContextId()
getContextId
in interface IReplicationParticipantsMetadata
Copyright © GigaSpaces.