SpaceDataSourceSplitter or SpaceSynchronizationEndpointSplitter instead.@Deprecated public class AbstractManagedDataSourceSplitter extends Object implements ManagedDataSource
ManagedDataSourceEntriesProviders and based on their
respective managed entries will split operations to the ones that control a given entry.| Modifier and Type | Field and Description |
|---|---|
protected ManagedDataSourceEntriesProvider[] |
dataSources
Deprecated.
|
NUMBER_OF_PARTITIONS, STATIC_PARTITION_NUMBER| Constructor and Description |
|---|
AbstractManagedDataSourceSplitter(ManagedDataSourceEntriesProvider[] dataSources)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected ManagedDataSource |
getDataSource(String entry)
Deprecated.
|
void |
init(Properties properties)
Deprecated.
Iterates through all the given data sources and calls
ManagedDataSource.init(java.util.Properties)
on them. |
DataIterator |
initialLoad()
Deprecated.
Iterates through all the given data sources and assembles their respective
DataIterators from ManagedDataSource.initialLoad(). |
void |
setInitalLoadThreadPoolSize(int initalLoadThreadPoolSize)
Deprecated.
|
void |
shutdown()
Deprecated.
Close the data source and clean any used resources.
Called before space shutdown. |
protected final ManagedDataSourceEntriesProvider[] dataSources
public AbstractManagedDataSourceSplitter(ManagedDataSourceEntriesProvider[] dataSources)
public void setInitalLoadThreadPoolSize(int initalLoadThreadPoolSize)
public void init(Properties properties) throws DataSourceException
ManagedDataSource.init(java.util.Properties)
on them.init in interface ManagedDataSourceproperties - - contains user defined param and Partition dataDataSourceExceptionpublic DataIterator initialLoad() throws DataSourceException
DataIterators from ManagedDataSource.initialLoad().
Constructs a ConcurrentMultiDataIterator on top of
them.initialLoad in interface ManagedDataSourceDataIterator or null if no data should be loaded into spaceDataSourceExceptionpublic void shutdown()
throws DataSourceException
ManagedDataSourceshutdown in interface ManagedDataSourceDataSourceExceptionprotected ManagedDataSource getDataSource(String entry)
Copyright © GigaSpaces.