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:
-
DiskStore
Region
Import
DiskStoresConfiguration
DiskStoreConfigurer
EnableDiskStore
-
Required Element Summary
Modifier and TypeRequired ElementDescriptionDefines 1 or more GemFire/GeodeDiskStores
. -
Optional Element Summary
Modifier and TypeOptional ElementDescriptionboolean
Set to true to automatically compact the disk files.int
The threshold at which an oplog will become compactable.long
The 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
-