SpaceSynchronizationEndpointExceptionHandler instead.@Deprecated public class BulkDataPersisterExceptionHandler extends AbstractManagedDataSourceDelegator implements BulkDataPersister
BulkDataPersister execution
and calls the provided ExceptionHandler in case of
exceptions.| Modifier and Type | Field and Description |
|---|---|
protected ExceptionHandler |
exceptionHandler
Deprecated.
|
dataSourceNUMBER_OF_PARTITIONS, STATIC_PARTITION_NUMBER| Constructor and Description |
|---|
BulkDataPersisterExceptionHandler(ManagedDataSource dataSource,
ExceptionHandler exceptionHandler)
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. |
init, initialLoad, shutdownprotected final ExceptionHandler exceptionHandler
public BulkDataPersisterExceptionHandler(ManagedDataSource dataSource, ExceptionHandler exceptionHandler)
public void executeBulk(List<BulkItem> bulkItems) throws DataSourceException
BulkDataPersisterBulkItem contains one of the following
operation -executeBulk in interface BulkDataPersisterbulkItems - 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.