Package com.gigaspaces.sync.serializable
Class TransactionEndpointData
java.lang.Object
com.gigaspaces.sync.serializable.TransactionEndpointData
- All Implemented Interfaces:
EndpointData,TransactionData,Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTransactionEndpointData(TransactionData transactionData, SpaceSyncEndpointMethod spaceSyncEndpointMethod) -
Method Summary
Modifier and TypeMethodDescriptionboolean
-
Constructor Details
-
TransactionEndpointData
public TransactionEndpointData(TransactionData transactionData, SpaceSyncEndpointMethod spaceSyncEndpointMethod)
-
-
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
-
getSyncEndpointMethod
- Specified by:
getSyncEndpointMethodin interfaceEndpointData
-