SpaceDataSourceSplitter
instead.@Deprecated public class DataProviderSplitter extends BulkDataPersisterSplitter implements DataProvider
dataSources
NUMBER_OF_PARTITIONS, STATIC_PARTITION_NUMBER
Constructor and Description |
---|
DataProviderSplitter(ManagedDataSourceEntriesProvider[] dataSources)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
DataIterator |
iterator(Object o)
Deprecated.
Create an iterator over all objects that match the given template.
|
Object |
read(Object o)
Deprecated.
Read one object that matches the given template.
|
executeBulk
getDataSource, init, initialLoad, setInitalLoadThreadPoolSize, shutdown
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
init, initialLoad, shutdown
public DataProviderSplitter(ManagedDataSourceEntriesProvider[] dataSources)
public Object read(Object o) throws DataSourceException
DataProvider
read
in interface DataProvider
DataSourceException
public DataIterator iterator(Object o) throws DataSourceException
DataProvider
SQLDataProvider
interface is also implemented - the space will use SQLDataProvider
.iterator instead.iterator
in interface DataProvider
DataIterator
or null if no data was found that match the given templateDataSourceException
Copyright © GigaSpaces.