Class SharedIteratorSpaceDataSourceDecorator

java.lang.Object
com.gigaspaces.datasource.SpaceDataSource
com.gigaspaces.datasource.concurrentaccess.SharedIteratorSpaceDataSourceDecorator
All Implemented Interfaces:
ISharedDataIteratorSourceStateChangedListener<Object>

public class SharedIteratorSpaceDataSourceDecorator extends SpaceDataSource implements ISharedDataIteratorSourceStateChangedListener<Object>
Decorates a SpaceDataSource 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:
9.5
Author:
eitany, Idan Moyal