Class AbstractManagedDataSourceSplitter
java.lang.Object
org.openspaces.persistency.patterns.AbstractManagedDataSourceSplitter
- All Implemented Interfaces:
ManagedDataSource
- Direct Known Subclasses:
BulkDataPersisterSplitter
@Deprecated
public class AbstractManagedDataSourceSplitter
extends Object
implements ManagedDataSource
Deprecated.
A base class for a splitter data source. Accepts a list of
ManagedDataSourceEntriesProviders and based on their
respective managed entries will split operations to the ones that control a given entry.- Author:
- kimchy
-
Field Summary
FieldsFields inherited from interface com.gigaspaces.datasource.ManagedDataSource
NUMBER_OF_PARTITIONS, STATIC_PARTITION_NUMBER -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated. -
Method Summary
Modifier and TypeMethodDescriptionprotected ManagedDataSourcegetDataSource(String entry) Deprecated.voidinit(Properties properties) Deprecated.Iterates through all the given data sources and callsManagedDataSource.init(java.util.Properties)on them.Deprecated.Iterates through all the given data sources and assembles their respectiveDataIterators fromManagedDataSource.initialLoad().voidsetInitalLoadThreadPoolSize(int initalLoadThreadPoolSize) Deprecated.voidshutdown()Deprecated.Close the data source and clean any used resources.
Called before space shutdown.
-
Field Details
-
dataSources
Deprecated.
-
-
Constructor Details
-
AbstractManagedDataSourceSplitter
Deprecated.
-
-
Method Details
-
setInitalLoadThreadPoolSize
public void setInitalLoadThreadPoolSize(int initalLoadThreadPoolSize) Deprecated. -
init
Deprecated.Iterates through all the given data sources and callsManagedDataSource.init(java.util.Properties)on them.- Specified by:
initin interfaceManagedDataSource- Parameters:
properties- - contains user defined param and Partition data- Throws:
DataSourceException
-
initialLoad
Deprecated.Iterates through all the given data sources and assembles their respectiveDataIterators fromManagedDataSource.initialLoad(). Constructs aConcurrentMultiDataIteratoron top of them.- Specified by:
initialLoadin interfaceManagedDataSource- Returns:
- a
DataIteratoror null if no data should be loaded into space - Throws:
DataSourceException
-
shutdown
Deprecated.Description copied from interface:ManagedDataSourceClose the data source and clean any used resources.
Called before space shutdown.- Specified by:
shutdownin interfaceManagedDataSource- Throws:
DataSourceException
-
getDataSource
Deprecated.
-
SpaceDataSourceSplitterorSpaceSynchronizationEndpointSplitterinstead.