Interface BulkDataPersister

All Known Subinterfaces:
ExternalDataSource<T>
All Known Implementing Classes:
BulkDataPersisterExceptionHandler, BulkDataPersisterSplitter, DataProviderSplitter, DataStorage, SQLDataProviderExceptionHandler, SQLDataProviderSplitter

@Deprecated public interface BulkDataPersister
Deprecated.
since 9.5 - use SpaceSynchronizationEndpoint instead.
BulkDataPersister is responsible for executing bulk operations
This interface should be implemented when using mirror space
or space transactions.
Since:
6.0
Author:
anna
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    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.
  • Method Details

    • executeBulk

      void executeBulk(List<BulkItem> bulk) throws DataSourceException
      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.
      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