Class BulkDataPersisterExceptionHandler
java.lang.Object
org.openspaces.persistency.patterns.AbstractManagedDataSourceDelegator
org.openspaces.persistency.patterns.BulkDataPersisterExceptionHandler
- All Implemented Interfaces:
BulkDataPersister,ManagedDataSource
- Direct Known Subclasses:
SQLDataProviderExceptionHandler
@Deprecated
public class BulkDataPersisterExceptionHandler
extends AbstractManagedDataSourceDelegator
implements BulkDataPersister
Deprecated.
An exception handler that delegates
BulkDataPersister execution
and calls the provided ExceptionHandler in case of
exceptions.- Author:
- kimchy
-
Field Summary
FieldsFields inherited from class org.openspaces.persistency.patterns.AbstractManagedDataSourceDelegator
dataSourceFields inherited from interface com.gigaspaces.datasource.ManagedDataSource
NUMBER_OF_PARTITIONS, STATIC_PARTITION_NUMBER -
Constructor Summary
ConstructorsConstructorDescriptionBulkDataPersisterExceptionHandler(ManagedDataSource dataSource, ExceptionHandler exceptionHandler) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionvoidexecuteBulk(List<BulkItem> bulkItems) 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.Methods inherited from class org.openspaces.persistency.patterns.AbstractManagedDataSourceDelegator
init, initialLoad, shutdown
-
Field Details
-
exceptionHandler
Deprecated.
-
-
Constructor Details
-
BulkDataPersisterExceptionHandler
public BulkDataPersisterExceptionHandler(ManagedDataSource dataSource, ExceptionHandler exceptionHandler) Deprecated.
-
-
Method Details
-
executeBulk
Deprecated.Description copied from interface:BulkDataPersisterExecute 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.- Specified by:
executeBulkin interfaceBulkDataPersister- Parameters:
bulkItems- 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
-
SpaceSynchronizationEndpointExceptionHandlerinstead.