Spring Boot for VMware GemFire
Package org.springframework.geode.data
Interface CacheDataImporter
- All Superinterfaces:
- org.springframework.beans.factory.config.BeanPostProcessor
- All Known Subinterfaces:
- CacheDataImporterExporter
- All Known Implementing Classes:
- AbstractCacheDataImporterExporter,- JsonCacheDataImporterExporter,- LifecycleAwareCacheDataImporterExporter,- ResourceCapableCacheDataImporterExporter
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public interface CacheDataImporter
extends org.springframework.beans.factory.config.BeanPostProcessor
The 
CacheDataImporter interface is a FunctionalInterface defininig a contract for importing data
 into a cache Region.- Since:
- 1.3.0
- See Also:
- 
- FunctionalInterface
- Region
- BeanPostProcessor
 
- 
Method SummaryModifier and TypeMethodDescriptionorg.apache.geode.cache.RegionimportInto(org.apache.geode.cache.Region region) Imports data into the givenRegion.default ObjectpostProcessAfterInitialization(Object bean, String beanName) Imports data from an external data source into a givenRegionafter initialization.Methods inherited from interface org.springframework.beans.factory.config.BeanPostProcessorpostProcessBeforeInitialization
- 
Method Details- 
postProcessAfterInitialization@Nullable default Object postProcessAfterInitialization(Object bean, String beanName) throws org.springframework.beans.BeansException Imports data from an external data source into a givenRegionafter initialization.- Specified by:
- postProcessAfterInitializationin interface- org.springframework.beans.factory.config.BeanPostProcessor
- Parameters:
- bean-- Objectbean to evaluate.
- beanName-- Stringcontaining the name of the bean.
- Throws:
- org.springframework.beans.BeansException- if importing data into a- Regionfails!
- See Also:
- 
- Region
- importInto(Region)
 
 
- 
importInto@NonNull org.apache.geode.cache.Region importInto(@NonNull org.apache.geode.cache.Region region) Imports data into the givenRegion.- Parameters:
- region-- Regionto import data into.
- Returns:
- the given Region.
- See Also:
- 
- Region
 
 
 
- 
