SpaceSynchronizationEndpointSplitter
instead.@Deprecated public class BulkDataPersisterSplitter extends AbstractManagedDataSourceSplitter implements BulkDataPersister
dataSources
NUMBER_OF_PARTITIONS, STATIC_PARTITION_NUMBER
Constructor and Description |
---|
BulkDataPersisterSplitter(ManagedDataSourceEntriesProvider[] dataSources)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
executeBulk(List<BulkItem> bulkItems)
Deprecated.
Execute given bulk of operations.
Each BulkItem contains 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. |
getDataSource, init, initialLoad, setInitalLoadThreadPoolSize, shutdown
public BulkDataPersisterSplitter(ManagedDataSourceEntriesProvider[] dataSources)
public void executeBulk(List<BulkItem> bulkItems) throws DataSourceException
BulkDataPersister
BulkItem
contains one of the following
operation -executeBulk
in interface BulkDataPersister
bulkItems
- list of data object and the operation to apply on that objectDataSourceException
- when the data store fails to persist the given list of objectsCopyright © GigaSpaces.