Package com.gigaspaces.datasource
Interface BulkDataPersister
- All Known Subinterfaces:
ExternalDataSource<T>
- All Known Implementing Classes:
BulkDataPersisterExceptionHandler,BulkDataPersisterSplitter,DataProviderSplitter,DataStorage,SQLDataProviderExceptionHandler,SQLDataProviderSplitter
Deprecated.
BulkDataPersister is responsible for executing bulk operationsThis interface should be implemented when using mirror space
or space transactions.
- Since:
- 6.0
- Author:
- anna
-
Method Summary
Modifier and TypeMethodDescriptionvoidexecuteBulk(List<BulkItem> bulk) Deprecated.Execute given bulk of operations.
EachBulkItemcontains one of the following operation -
WRITE - given object should be inserted to the data store,
UPDATE - given object should be updated in the data store,
REMOVE - given object should be deleted from the data store
If the implementation uses transactions,
all the bulk operations must be executed in one transaction.
-
Method Details
-
executeBulk
Deprecated.Execute given bulk of operations.
EachBulkItemcontains one of the following operation -
WRITE - given object should be inserted to the data store,
UPDATE - given object should be updated in the data store,
REMOVE - given object should be deleted from the data store
If the implementation uses transactions,
all the bulk operations must be executed in one transaction.- Parameters:
bulk- list of data object and the operation to apply on that object- Throws:
DataSourceException- when the data store fails to persist the given list of objects
-
SpaceSynchronizationEndpointinstead.