public class KafkaSpaceSynchronizationEndpoint extends SpaceSynchronizationEndpoint
| Modifier and Type | Field and Description | 
|---|---|
| static long | KAFKA_TIMEOUT | 
| Constructor and Description | 
|---|
| KafkaSpaceSynchronizationEndpoint(SpaceSynchronizationEndpoint primaryEndpoint,
                                 Map<String,SpaceSynchronizationEndpoint> secondaryEndpoints,
                                 Properties kafkaProps,
                                 String topic) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | close() | 
| 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. | 
afterOperationsBatchSynchronization, afterTransactionSynchronizationpublic static final long KAFKA_TIMEOUT
public KafkaSpaceSynchronizationEndpoint(SpaceSynchronizationEndpoint primaryEndpoint, Map<String,SpaceSynchronizationEndpoint> secondaryEndpoints, Properties kafkaProps, String topic)
public void onTransactionConsolidationFailure(ConsolidationParticipantData participantData)
SpaceSynchronizationEndpointonTransactionConsolidationFailure in class SpaceSynchronizationEndpointparticipantData - the transaction participant data for which the consolidation failedpublic void onTransactionSynchronization(TransactionData transactionData)
SpaceSynchronizationEndpointonTransactionSynchronization in class SpaceSynchronizationEndpointtransactionData - the transaction datapublic void onOperationsBatchSynchronization(OperationsBatchData batchData)
SpaceSynchronizationEndpointonOperationsBatchSynchronization in class SpaceSynchronizationEndpointbatchData - the batched operations datapublic void onAddIndex(AddIndexData addIndexData)
SpaceSynchronizationEndpointonAddIndex in class SpaceSynchronizationEndpointaddIndexData - The added index datapublic void onIntroduceType(IntroduceTypeData introduceTypeData)
SpaceSynchronizationEndpointonIntroduceType in class SpaceSynchronizationEndpointintroduceTypeData - The introduced type datapublic void close()
Copyright © GigaSpaces.