@FunctionalInterface
public interface CacheDataImporter
extends org.springframework.beans.factory.config.BeanPostProcessor
CacheDataImporter
interface is a FunctionalInterface
defininig a contract for importing data
into a cache Region
.FunctionalInterface
,
Region
,
BeanPostProcessor
Modifier and Type | Method and Description |
---|---|
org.apache.geode.cache.Region |
importInto(org.apache.geode.cache.Region region)
Imports data into the given
Region . |
default java.lang.Object |
postProcessAfterInitialization(java.lang.Object bean,
java.lang.String beanName)
Imports data from an external data source into a given
Region after initialization. |
@Nullable default java.lang.Object postProcessAfterInitialization(java.lang.Object bean, java.lang.String beanName) throws org.springframework.beans.BeansException
Region
after initialization.postProcessAfterInitialization
in interface org.springframework.beans.factory.config.BeanPostProcessor
bean
- Object
bean to evaluate.beanName
- String
containing the name of the bean.org.springframework.beans.BeansException
- if importing data into a Region
fails!Region
,
importInto(Region)
@NonNull org.apache.geode.cache.Region importInto(@NonNull org.apache.geode.cache.Region region)
Region
.region
- Region
to import data into.Region
.Region