Interface CacheDataExporter

All Superinterfaces:
org.springframework.beans.factory.config.BeanPostProcessor, org.springframework.beans.factory.config.DestructionAwareBeanPostProcessor
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 CacheDataExporter extends org.springframework.beans.factory.config.DestructionAwareBeanPostProcessor
The CacheDataExporter interface is a FunctionalInterface defining a contract for exporting data from a cache Region.
Since:
1.3.0
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.geode.cache.Region
    exportFrom(org.apache.geode.cache.Region region)
    Exports data contained in the given Region.
    default void
    Exports any data contained in a Region on destruction.

    Methods inherited from interface org.springframework.beans.factory.config.BeanPostProcessor

    postProcessAfterInitialization, postProcessBeforeInitialization

    Methods inherited from interface org.springframework.beans.factory.config.DestructionAwareBeanPostProcessor

    requiresDestruction
  • Method Details

    • postProcessBeforeDestruction

      default void postProcessBeforeDestruction(Object bean, String beanName) throws org.springframework.beans.BeansException
      Exports any data contained in a Region on destruction.
      Specified by:
      postProcessBeforeDestruction in interface org.springframework.beans.factory.config.DestructionAwareBeanPostProcessor
      Parameters:
      bean - Object bean to evaluate.
      beanName - String containing the name of the bean.
      Throws:
      org.springframework.beans.BeansException - if exporting data from a Region fails!
      See Also:
    • exportFrom

      @NonNull org.apache.geode.cache.Region exportFrom(@NonNull org.apache.geode.cache.Region region)
      Exports data contained in the given Region.
      Parameters:
      region - Region to export data from.
      Returns:
      the given Region.
      See Also:
      • Region