GigaSpaces - Open Spaces

org.openspaces.persistency.patterns
Class AbstractManagedDataSourceDelegator

java.lang.Object
  extended by org.openspaces.persistency.patterns.AbstractManagedDataSourceDelegator
All Implemented Interfaces:
com.gigaspaces.datasource.ManagedDataSource
Direct Known Subclasses:
BulkDataPersisterExceptionHandler

public abstract class AbstractManagedDataSourceDelegator
extends Object
implements com.gigaspaces.datasource.ManagedDataSource

Base class that delegates execution to data source.

Author:
kimchy

Field Summary
protected  com.gigaspaces.datasource.ManagedDataSource dataSource
           
 
Fields inherited from interface com.gigaspaces.datasource.ManagedDataSource
DATA_CLASS_PROPS, NUMBER_OF_PARTITIONS, STATIC_PARTITION_NUMBER
 
Constructor Summary
AbstractManagedDataSourceDelegator(com.gigaspaces.datasource.ManagedDataSource dataSource)
           
 
Method Summary
 void init(Properties properties)
           
 com.gigaspaces.datasource.DataIterator initialLoad()
           
 void shutdown()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dataSource

protected final com.gigaspaces.datasource.ManagedDataSource dataSource
Constructor Detail

AbstractManagedDataSourceDelegator

public AbstractManagedDataSourceDelegator(com.gigaspaces.datasource.ManagedDataSource dataSource)
Method Detail

init

public void init(Properties properties)
          throws com.gigaspaces.datasource.DataSourceException
Specified by:
init in interface com.gigaspaces.datasource.ManagedDataSource
Throws:
com.gigaspaces.datasource.DataSourceException

initialLoad

public com.gigaspaces.datasource.DataIterator initialLoad()
                                                   throws com.gigaspaces.datasource.DataSourceException
Specified by:
initialLoad in interface com.gigaspaces.datasource.ManagedDataSource
Throws:
com.gigaspaces.datasource.DataSourceException

shutdown

public void shutdown()
              throws com.gigaspaces.datasource.DataSourceException
Specified by:
shutdown in interface com.gigaspaces.datasource.ManagedDataSource
Throws:
com.gigaspaces.datasource.DataSourceException

GigaSpaces - Open Spaces

Copyright © GigaSpaces.