spring-geode/src/main/java/org/springframework/geode/data/AbstractCacheDataImporterExporter.java
/**
	 * Exports data contained in the given {@link Region}.
	 *
	 * @param region {@link Region} to export data from.
	 * @return the given {@link Region}.
	 * @see org.apache.geode.cache.Region
	 * @see #isExportEnabled(Environment)
	 * @see #getRegionPredicate()
	 * @see #doExportFrom(Region)
	 */
Exports data contained in the given  Region.
@param region  Region to export data from.
@return the given  Region.
Exports data contained in the given Region . @param region Region to export data from . @return the given Region .
@NonNull @Override
	public Region exportFrom(@NonNull Region region) {
		Assert.notNull(region, "Region must not be null");
		boolean exportEnabled = getEnvironment()
			.filter(this::isExportEnabled)
			.filter(environment -> getRegionPredicate().test(region))
			.isPresent();
		return exportEnabled ? doExportFrom(region) : region;
	}
@ NonNull @ Override public Region exportFrom ( @ NonNull Region region ) { Assert . notNull ( region , "Region must not be null" ) ; boolean exportEnabled = getEnvironment ( ) . filter ( this :: isExportEnabled ) . filter ( environment -> getRegionPredicate ( ) . test ( region ) ) . isPresent ( ) ; return exportEnabled ? doExportFrom ( region ) : region ; }
Exports data contained in the given {@link Region}.
Exports data contained in the given { @link Region } .