GigaSpaces XAP 9.7.2 API

com.gigaspaces.datasource
Interface BulkDataPersister

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

Deprecated. since 9.5 - use SpaceSynchronizationEndpoint instead.

@Deprecated
public interface BulkDataPersister

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
 void executeBulk(List<BulkItem> bulk)
          Deprecated. Execute given bulk of operations.
 

Method Detail

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

GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.