Uses of Class
com.gigaspaces.datasource.DataSourceException
Packages that use DataSourceException
Package
Description
Provides GigaSpaces DataSource implementation.
Set of patterns that can be used to wrap different external data sources.
-
Uses of DataSourceException in com.gigaspaces.datasource
Methods in com.gigaspaces.datasource that throw DataSourceExceptionModifier and TypeMethodDescriptionvoidBulkDataPersister.executeBulk(List<BulkItem> bulk) Deprecated.Execute given bulk of operations.
EachBulkItemcontains one of the following operation -
WRITE - given object should be inserted to the data store,
UPDATE - given object should be updated in the data store,
REMOVE - given object should be deleted from the data store
If the implementation uses transactions,
all the bulk operations must be executed in one transaction.voidManagedDataSource.init(Properties prop) Deprecated.Initialize and configure the data source using given properties.
Called when space is started.
The properties are loaded from a file that can be defined in the space schema or as a property named:
space-config.ExternalDataSource.properties-file partitionId and number of partitions are also in the Properties - can be read with STATIC_PARTITION_NUMBER and NUMBER_OF_PARTITIONSManagedDataSource.initialLoad()Deprecated.Creates and returns an iterator over all the entries that should be loaded into space.Deprecated.Create an iterator over all objects that match the given template.
Note: null value can be passed - in case of a null template or at initial space load.Deprecated.Create an iterator over all objects that match the givenSQLQuery.Deprecated.Read one object that matches the given template.voidDeprecated.Remove the given object from the data storevoidManagedDataSource.shutdown()Deprecated.Close the data source and clean any used resources.
Called before space shutdown.voidDeprecated.Update the given object in the data storevoidDeprecated.Write given new object to the data storevoidDataPersister.writeBatch(List<T> objects) Deprecated. -
Uses of DataSourceException in com.gigaspaces.datasource.concurrentaccess
Methods in com.gigaspaces.datasource.concurrentaccess that throw DataSourceExceptionModifier and TypeMethodDescriptionSharedDataIteratorSource.getIterator()Gets a new shared data iterator over the source data iteratorISourceDataIteratorProvider.getSourceIterator()voidSharedIteratorSQLDataProviderDecorator.init(Properties prop) SharedIteratorSQLDataProviderDecorator.initialLoad()voidSharedIteratorSpaceDataSourceDecorator.shutdown()voidSharedIteratorSQLDataProviderDecorator.shutdown() -
Uses of DataSourceException in com.gigaspaces.internal.datasource
Methods in com.gigaspaces.internal.datasource that throw DataSourceExceptionModifier and TypeMethodDescriptionvoidEDSAdapterSpaceDataSource.initialize(Properties dataProperties) -
Uses of DataSourceException in com.j_spaces.sadapter.datasource
Methods in com.j_spaces.sadapter.datasource that throw DataSourceExceptionModifier and TypeMethodDescriptionvoidBatchDataWriter.add(BulkDataItem entry) voidBatchDataWriter.executeBatch()voidDataStorage.executeBulk(List<BulkItem> bulk) voidDataStorage.init(Properties configuration) DataStorage.initialLoad()voidvoidDataStorage.shutdown()voidvoidvoidDataStorage.writeBatch(List<T> objects) -
Uses of DataSourceException in org.openspaces.persistency.patterns
Methods in org.openspaces.persistency.patterns that throw DataSourceExceptionModifier and TypeMethodDescriptionvoidBulkDataPersisterExceptionHandler.executeBulk(List<BulkItem> bulkItems) Deprecated.voidBulkDataPersisterSplitter.executeBulk(List<BulkItem> bulkItems) Deprecated.voidAbstractManagedDataSourceDelegator.init(Properties properties) Deprecated.voidAbstractManagedDataSourceSplitter.init(Properties properties) Deprecated.Iterates through all the given data sources and callsManagedDataSource.init(java.util.Properties)on them.AbstractManagedDataSourceDelegator.initialLoad()Deprecated.AbstractManagedDataSourceSplitter.initialLoad()Deprecated.Iterates through all the given data sources and assembles their respectiveDataIterators fromManagedDataSource.initialLoad().Deprecated.Deprecated.Deprecated.voidExceptionHandler.onException(Exception e, Object event) Deprecated.Logic to handle the exceptions.Deprecated.voidAbstractManagedDataSourceDelegator.shutdown()Deprecated.voidAbstractManagedDataSourceSplitter.shutdown()Deprecated.
BulkDataPersister