Spring Data for VMware GemFire
Annotation Interface EnableDiskStores
@Target(TYPE)
@Retention(RUNTIME)
@Inherited
@Documented
@Import(DiskStoresConfiguration.class)
public @interface EnableDiskStores
The
EnableDiskStores annotation marks a Spring @Configuration
annotated application class to configure 1 or more GemFire/Geode DiskStore beans
in the Spring context in which to persist or overflow data from 1 or more GemFire/Geode
Regions- Since:
- 1.9.0
- See Also:
-
DiskStoreRegionImportDiskStoresConfigurationDiskStoreConfigurerEnableDiskStore
-
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescriptionDefines 1 or more GemFire/GeodeDiskStores. -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionbooleanSet to true to automatically compact the disk files.intThe threshold at which an oplog will become compactable.longThe maximum size, in megabytes, of an oplog (operation log) file.
-
Element Details
-
diskStores
EnableDiskStore[] diskStoresDefines 1 or more GemFire/GeodeDiskStores.
-
-
-
autoCompact
boolean autoCompactSet to true to automatically compact the disk files. Default is false.- Default:
- false
-
compactionThreshold
int compactionThresholdThe threshold at which an oplog will become compactable. Until it reaches this threshold the oplog will not be compacted. The threshold is a percentage in the range 0 to 100. Defaults to 50 percent.- Default:
- 50
-
maxOplogSize
long maxOplogSizeThe maximum size, in megabytes, of an oplog (operation log) file. Defaults to 1024 MB.- Default:
- 1024L
-