Spring Data for VMware GemFire
Annotation Interface EnableCompression
@Target(TYPE)
@Retention(RUNTIME)
@Inherited
@Documented
@Import(CompressionConfiguration.class)
public @interface EnableCompression
The
EnableCompression annotation marks a Spring @Configuration annotated application
Class to configure and enable Pivotal GemFire/Apache Geode Region data compression.- See Also:
-
Optional Element Summary
Optional Elements
-
Element Details
-
compressorBeanName
String compressorBeanNameReference to thenameof a bean having typeCompressorregistered in the Spring container to handleRegioncompression. Defaults to snappyCompressor. Set the spring.data.gemfire.cache.compression.compressor-bean-name in application.properties.- Default:
- "SnappyCompressor"
-
regionNames
String[] regionNamesIdentifies all theRegionsby name in which the data compression will be enabled. Defaults to allRegions. Set the spring.data.gemfire.cache.compression.region-names property in application.properties.- Default:
- {}
-