public class SpaceSynchronizationEndpointExceptionHandler extends SpaceSynchronizationEndpoint
SpaceSynchronizationEndpoint
execution and calls the provided PersistencyExceptionHandler
in case of exceptions on synchronization methods.Constructor and Description |
---|
SpaceSynchronizationEndpointExceptionHandler(SpaceSynchronizationEndpoint interceptor,
PersistencyExceptionHandler exceptionHandler) |
Modifier and Type | Method and Description |
---|---|
void |
afterOperationsBatchSynchronization(OperationsBatchData batchData)
Triggered after synchronization batch of operations was completed successfully.
|
void |
afterTransactionSynchronization(TransactionData transactionData)
Triggered after synchronization of a transaction was completed successfully.
|
void |
onAddIndex(AddIndexData addIndexData)
Triggered on add index synchronization.
|
void |
onIntroduceType(IntroduceTypeData introduceTypeData)
Triggered on type data introduction.
|
void |
onOperationsBatchSynchronization(OperationsBatchData batchData)
Triggered on synchronization batch of operations.
|
void |
onTransactionConsolidationFailure(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.
|
void |
onTransactionSynchronization(TransactionData transactionData)
Triggered on synchronization of a transaction.
|
public SpaceSynchronizationEndpointExceptionHandler(SpaceSynchronizationEndpoint interceptor, PersistencyExceptionHandler exceptionHandler)
public void onTransactionConsolidationFailure(ConsolidationParticipantData participantData)
SpaceSynchronizationEndpoint
onTransactionConsolidationFailure
in class SpaceSynchronizationEndpoint
participantData
- the transaction participant data for which the consolidation failedpublic void onTransactionSynchronization(TransactionData transactionData)
SpaceSynchronizationEndpoint
onTransactionSynchronization
in class SpaceSynchronizationEndpoint
transactionData
- the transaction datapublic void afterTransactionSynchronization(TransactionData transactionData)
SpaceSynchronizationEndpoint
afterTransactionSynchronization
in class SpaceSynchronizationEndpoint
transactionData
- the transaction datapublic void onOperationsBatchSynchronization(OperationsBatchData batchData)
SpaceSynchronizationEndpoint
onOperationsBatchSynchronization
in class SpaceSynchronizationEndpoint
batchData
- the batched operations datapublic void afterOperationsBatchSynchronization(OperationsBatchData batchData)
SpaceSynchronizationEndpoint
afterOperationsBatchSynchronization
in class SpaceSynchronizationEndpoint
batchData
- the batched operations datapublic void onAddIndex(AddIndexData addIndexData)
SpaceSynchronizationEndpoint
onAddIndex
in class SpaceSynchronizationEndpoint
addIndexData
- The added index datapublic void onIntroduceType(IntroduceTypeData introduceTypeData)
SpaceSynchronizationEndpoint
onIntroduceType
in class SpaceSynchronizationEndpoint
introduceTypeData
- The introduced type dataCopyright © GigaSpaces.