SpaceDataSource
or SpaceSynchronizationEndpoint
instead.@Deprecated public interface ManagedDataSource<T>
DataProvider
,
DataPersister
Modifier and Type | Field and Description |
---|---|
static String |
NUMBER_OF_PARTITIONS
Deprecated.
use this constant to get from the Properties the number of partitions
|
static String |
STATIC_PARTITION_NUMBER
Deprecated.
use this constant to get from the Properties the partition number
|
Modifier and Type | Method and Description |
---|---|
void |
init(Properties prop)
Deprecated.
Initialize and configure the data source using given properties.
|
DataIterator<T> |
initialLoad()
Deprecated.
Creates and returns an iterator over all the entries that should be loaded into space. |
void |
shutdown()
Deprecated.
Close the data source and clean any used resources.
|
static final String NUMBER_OF_PARTITIONS
static final String STATIC_PARTITION_NUMBER
void init(Properties prop) throws DataSourceException
prop
- - contains user defined param and Partition dataDataSourceException
DataIterator<T> initialLoad() throws DataSourceException
Creates and returns an iterator over all the entries that should be loaded into space.
DataIterator
or null if no data should be loaded into spaceDataSourceException
void shutdown() throws DataSourceException
DataSourceException
Copyright © GigaSpaces.