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:
-
Element Details
-
compressorBeanName
String compressorBeanNameReference to thename
of a bean having typeCompressor
registered in the Spring container to handleRegion
compression. Defaults to snappyCompressor. Set the spring.data.gemfire.cache.compression.compressor-bean-name in application.properties.- Default:
- "SnappyCompressor"
-
regionNames
String[] regionNamesIdentifies all theRegions
by 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:
- {}
-