Package com.gigaspaces.internal.sync
Class TransactionDataImpl
java.lang.Object
com.gigaspaces.internal.sync.TransactionDataImpl
- All Implemented Interfaces:
TransactionData
- Since:
- 9.1.1
- Author:
- idan
-
Constructor Summary
ConstructorsConstructorDescriptionTransactionDataImpl(DataSyncOperation[] operations, TransactionParticipantDataImpl metaData, String sourceName) -
Method Summary
Modifier and TypeMethodDescriptionboolean
-
Constructor Details
-
TransactionDataImpl
public TransactionDataImpl(DataSyncOperation[] operations, TransactionParticipantDataImpl metaData, String sourceName)
-
-
Method Details
-
isConsolidated
public boolean isConsolidated()- Specified by:
isConsolidatedin interfaceTransactionData- Returns:
- true if this is a multiple participant consolidated transaction
-
getTransactionParticipantMetaData
- Specified by:
getTransactionParticipantMetaDatain interfaceTransactionData- Returns:
- this transaction participant metadata
can only be used for transactions which are not TransactionData.isConsolidated(), it will throw an exception if used otherwise.
-
getConsolidatedDistributedTransactionMetaData
- Specified by:
getConsolidatedDistributedTransactionMetaDatain interfaceTransactionData- Returns:
- this consolidation distributed transaction metadata
can only be used for transactions which are TransactionData.isConsolidated(), it will throw an exception if used otherwise.
-
getTransactionParticipantDataItems
- Specified by:
getTransactionParticipantDataItemsin interfaceTransactionData- Returns:
- the data synchronization operation items under this transaction
-
getSourceDetails
- Specified by:
getSourceDetailsin interfaceTransactionData- Returns:
- the details of this transaction synchronization source
-