public class SpaceSynchronizationEndpointSplitter extends SpaceSynchronizationEndpoint
SpaceSynchronizationEndpoint that implements the synchronization methods. Reshuffles
the given synchronization operations by grouping them based on the types and then calls the
corresponding synchronization method for each type respective synchronization endpoint.| Constructor and Description |
|---|
SpaceSynchronizationEndpointSplitter(ManagedEntriesSpaceSynchronizationEndpoint[] dataSources) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterOperationsBatchSynchronization(OperationsBatchData batchData)
split the batch into multiple batches according to their entry type and delegate it to the
corresponding synchronization endpoint interceptor
SpaceSynchronizationEndpoint.afterOperationsBatchSynchronization(OperationsBatchData) |
void |
afterTransactionSynchronization(TransactionData transactionData)
split the transaction data into multiple transaction data according to their entry type and
delegate it to the corresponding synchronization endpoint interceptor
SpaceSynchronizationEndpoint.afterTransactionSynchronization(TransactionData). |
protected SpaceSynchronizationEndpoint |
getEndpoint(String entry) |
void |
onAddIndex(AddIndexData addIndexData)
delegate the add index event to the corresponding interceptor
|
void |
onIntroduceType(IntroduceTypeData introduceTypeData)
delegate the introduce type event to the corresponding interceptor
|
void |
onOperationsBatchSynchronization(OperationsBatchData batchData)
split the batch into multiple batches according to their entry type and delegate it to the
corresponding synchronization endpoint interceptor
SpaceSynchronizationEndpoint.onOperationsBatchSynchronization(OperationsBatchData) |
void |
onTransactionSynchronization(TransactionData transactionData)
split the transaction data into multiple transaction data according to their entry type and
delegate it to the corresponding synchronization endpoint interceptor
SpaceSynchronizationEndpoint.onTransactionSynchronization(TransactionData). |
onTransactionConsolidationFailurepublic SpaceSynchronizationEndpointSplitter(ManagedEntriesSpaceSynchronizationEndpoint[] dataSources)
protected SpaceSynchronizationEndpoint getEndpoint(String entry)
public void onOperationsBatchSynchronization(OperationsBatchData batchData)
SpaceSynchronizationEndpoint.onOperationsBatchSynchronization(OperationsBatchData)onOperationsBatchSynchronization in class SpaceSynchronizationEndpointbatchData - the batched operations datapublic void afterOperationsBatchSynchronization(OperationsBatchData batchData)
SpaceSynchronizationEndpoint.afterOperationsBatchSynchronization(OperationsBatchData)afterOperationsBatchSynchronization in class SpaceSynchronizationEndpointbatchData - the batched operations datapublic void onTransactionSynchronization(TransactionData transactionData)
SpaceSynchronizationEndpoint.onTransactionSynchronization(TransactionData). This may break
transaction atomicity if one of the delegated synchronization endpoint interceptor throws an
exception while other did not.onTransactionSynchronization in class SpaceSynchronizationEndpointtransactionData - the transaction datapublic void afterTransactionSynchronization(TransactionData transactionData)
SpaceSynchronizationEndpoint.afterTransactionSynchronization(TransactionData).afterTransactionSynchronization in class SpaceSynchronizationEndpointtransactionData - the transaction datapublic void onAddIndex(AddIndexData addIndexData)
onAddIndex in class SpaceSynchronizationEndpointaddIndexData - The added index datapublic void onIntroduceType(IntroduceTypeData introduceTypeData)
onIntroduceType in class SpaceSynchronizationEndpointintroduceTypeData - The introduced type dataCopyright © GigaSpaces.