Class SharedIteratorSQLDataProviderDecorator<T>

java.lang.Object
com.gigaspaces.datasource.concurrentaccess.SharedIteratorSQLDataProviderDecorator<T>
All Implemented Interfaces:
ISharedDataIteratorSourceStateChangedListener<T>, ManagedDataSource<T>, SQLDataProvider<T>

public class SharedIteratorSQLDataProviderDecorator<T> extends Object implements SQLDataProvider<T>, ISharedDataIteratorSourceStateChangedListener<T>
Decorates a SQLDataProvider with additional property, concurrent request for an iterator which is based on the same query will only open one underlying iterator against the decorates provider, this iterator will be shared amont the concurrent requests as if each of them has its own iterator. the purpose is to reduce the load on the data source.
Since:
7.0
Author:
eitany