|
GigaSpaces XAP 9.7.2 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.gigaspaces.sync.SpaceSynchronizationEndpoint org.openspaces.persistency.patterns.SpaceSynchronizationEndpointSplitter
public class SpaceSynchronizationEndpointSplitter
A 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 Summary | |
---|---|
SpaceSynchronizationEndpointSplitter(ManagedEntriesSpaceSynchronizationEndpoint[] dataSources)
|
Method Summary | |
---|---|
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) . |
Methods inherited from class com.gigaspaces.sync.SpaceSynchronizationEndpoint |
---|
onTransactionConsolidationFailure |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SpaceSynchronizationEndpointSplitter(ManagedEntriesSpaceSynchronizationEndpoint[] dataSources)
Method Detail |
---|
protected SpaceSynchronizationEndpoint getEndpoint(String entry)
public void onOperationsBatchSynchronization(OperationsBatchData batchData)
SpaceSynchronizationEndpoint.onOperationsBatchSynchronization(OperationsBatchData)
onOperationsBatchSynchronization
in class SpaceSynchronizationEndpoint
batchData
- the batched operations datapublic void afterOperationsBatchSynchronization(OperationsBatchData batchData)
SpaceSynchronizationEndpoint.afterOperationsBatchSynchronization(OperationsBatchData)
afterOperationsBatchSynchronization
in class SpaceSynchronizationEndpoint
batchData
- 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 SpaceSynchronizationEndpoint
transactionData
- the transaction datapublic void afterTransactionSynchronization(TransactionData transactionData)
SpaceSynchronizationEndpoint.afterTransactionSynchronization(TransactionData)
.
afterTransactionSynchronization
in class SpaceSynchronizationEndpoint
transactionData
- the transaction datapublic void onAddIndex(AddIndexData addIndexData)
onAddIndex
in class SpaceSynchronizationEndpoint
addIndexData
- The added index datapublic void onIntroduceType(IntroduceTypeData introduceTypeData)
onIntroduceType
in class SpaceSynchronizationEndpoint
introduceTypeData
- The introduced type data
|
GigaSpaces XAP 9.7.2 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |