|
GigaSpaces XAP 9.7.2 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.openspaces.persistency.patterns.AbstractManagedDataSourceSplitter
SpaceDataSourceSplitter
or SpaceSynchronizationEndpointSplitter
instead.
@Deprecated public class AbstractManagedDataSourceSplitter
A base class for a splitter data source. Accepts a list of ManagedDataSourceEntriesProvider
s
and based on their respective managed entries will split operations to the ones that control a given entry.
Field Summary | |
---|---|
protected ManagedDataSourceEntriesProvider[] |
dataSources
Deprecated. |
Fields inherited from interface com.gigaspaces.datasource.ManagedDataSource |
---|
DATA_CLASS_PROPS, NUMBER_OF_PARTITIONS, STATIC_PARTITION_NUMBER |
Constructor Summary | |
---|---|
AbstractManagedDataSourceSplitter(ManagedDataSourceEntriesProvider[] dataSources)
Deprecated. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final ManagedDataSourceEntriesProvider[] dataSources
Constructor Detail |
---|
public AbstractManagedDataSourceSplitter(ManagedDataSourceEntriesProvider[] dataSources)
Method Detail |
---|
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 data
DataSourceException
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 space
DataSourceException
public void shutdown() throws DataSourceException
ManagedDataSource
shutdown
in interface ManagedDataSource
DataSourceException
protected ManagedDataSource getDataSource(String entry)
|
GigaSpaces XAP 9.7.2 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |