org.openspaces.persistency.patterns
Class BulkDataPersisterExceptionHandler
java.lang.Object
org.openspaces.persistency.patterns.AbstractManagedDataSourceDelegator
org.openspaces.persistency.patterns.BulkDataPersisterExceptionHandler
- All Implemented Interfaces:
- com.gigaspaces.datasource.BulkDataPersister, com.gigaspaces.datasource.ManagedDataSource
- Direct Known Subclasses:
- SQLDataProviderExceptionHandler
public class BulkDataPersisterExceptionHandler
- extends AbstractManagedDataSourceDelegator
- implements com.gigaspaces.datasource.BulkDataPersister
An exception handler that delegates BulkDataPersister
execution
and calls the provided ExceptionHandler
in case of exceptions.
- Author:
- kimchy
Fields inherited from interface com.gigaspaces.datasource.ManagedDataSource |
DATA_CLASS_PROPS, NUMBER_OF_PARTITIONS, STATIC_PARTITION_NUMBER |
Method Summary |
void |
executeBulk(List<com.gigaspaces.datasource.BulkItem> bulkItems)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
exceptionHandler
protected final ExceptionHandler exceptionHandler
BulkDataPersisterExceptionHandler
public BulkDataPersisterExceptionHandler(com.gigaspaces.datasource.ManagedDataSource dataSource,
ExceptionHandler exceptionHandler)
executeBulk
public void executeBulk(List<com.gigaspaces.datasource.BulkItem> bulkItems)
throws com.gigaspaces.datasource.DataSourceException
- Specified by:
executeBulk
in interface com.gigaspaces.datasource.BulkDataPersister
- Throws:
com.gigaspaces.datasource.DataSourceException
Copyright © GigaSpaces.