SpaceDataSourceSplitter
or SpaceSynchronizationEndpointSplitter
instead.@Deprecated public class AbstractManagedDataSourceSplitter extends Object implements ManagedDataSource
ManagedDataSourceEntriesProvider
s
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
DataIterator s
from ManagedDataSource.initialLoad() . |
void |
setInitalLoadThreadPoolSize(int initalLoadThreadPoolSize)
Deprecated.
|
void |
shutdown()
Deprecated.
Close the data source and clean any used resources.
|
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 ManagedDataSource
properties
- - contains user defined param and Partition dataDataSourceException
public DataIterator initialLoad() throws DataSourceException
DataIterator
s
from ManagedDataSource.initialLoad()
. Constructs a ConcurrentMultiDataIterator
on top of them.initialLoad
in interface ManagedDataSource
DataIterator
or null if no data should be loaded into spaceDataSourceException
public void shutdown() throws DataSourceException
ManagedDataSource
shutdown
in interface ManagedDataSource
DataSourceException
protected ManagedDataSource getDataSource(String entry)
Copyright © GigaSpaces.