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, afterTransactionSynchronization
public static final long KAFKA_TIMEOUT
public KafkaSpaceSynchronizationEndpoint(SpaceSynchronizationEndpoint primaryEndpoint, Map<String,SpaceSynchronizationEndpoint> secondaryEndpoints, Properties kafkaProps, String topic)
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 onOperationsBatchSynchronization(OperationsBatchData batchData)
SpaceSynchronizationEndpoint
onOperationsBatchSynchronization
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 datapublic void close()
Copyright © GigaSpaces.