Package com.gigaspaces.sync
Class SpaceSynchronizationEndpoint
java.lang.Object
com.gigaspaces.sync.SpaceSynchronizationEndpoint
- Direct Known Subclasses:
CassandraSpaceSynchronizationEndpoint,EDSAdapterSynchronizationEndpoint,GigaSpaceSynchronizationEndpoint,KafkaSpaceSynchronizationEndpoint,ManagedEntriesSpaceSynchronizationEndpoint,MongoSpaceSynchronizationEndpoint,SpaceSynchronizationEndpointExceptionHandler,SpaceSynchronizationEndpointSplitter
A space synchronization endpoint used to intercept incoming replication events which were
originated from a space and do custom behavior when this events occur.
- Since:
- 9.1.1
- Author:
- eitany
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidTriggered after synchronization batch of operations was completed successfully.voidafterTransactionSynchronization(TransactionData transactionData) Triggered after synchronization of a transaction was completed successfully.voidonAddIndex(AddIndexData addIndexData) Triggered on add index synchronization.voidonIntroduceType(IntroduceTypeData introduceTypeData) Triggered on type data introduction.voidTriggered on synchronization batch of operations.voidonTransactionConsolidationFailure(ConsolidationParticipantData participantData) Triggered when a consolidation for a specific distributed transaction participant is failed due to timeout or too much backlog accumulation while waiting for other participant parts.voidonTransactionSynchronization(TransactionData transactionData) Triggered on synchronization of a transaction.
-
Constructor Details
-
SpaceSynchronizationEndpoint
public SpaceSynchronizationEndpoint()
-
-
Method Details
-
onTransactionConsolidationFailure
Triggered when a consolidation for a specific distributed transaction participant is failed due to timeout or too much backlog accumulation while waiting for other participant parts.- Parameters:
participantData- the transaction participant data for which the consolidation failed
-
onTransactionSynchronization
Triggered on synchronization of a transaction.- Parameters:
transactionData- the transaction data
-
afterTransactionSynchronization
Triggered after synchronization of a transaction was completed successfully.- Parameters:
transactionData- the transaction data
-
onOperationsBatchSynchronization
Triggered on synchronization batch of operations.- Parameters:
batchData- the batched operations data
-
afterOperationsBatchSynchronization
Triggered after synchronization batch of operations was completed successfully.- Parameters:
batchData- the batched operations data
-
onAddIndex
Triggered on add index synchronization.- Parameters:
addIndexData- The added index data
-
onIntroduceType
Triggered on type data introduction. This method may be invoked more than once for the same type during the life time of this endpoint and it is up to the implementor to handle this scenario gracefully.- Parameters:
introduceTypeData- The introduced type data
-