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:
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Defines 1 or more GemFire/Geode DiskStores.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    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[] diskStores
      Defines 1 or more GemFire/Geode DiskStores.
    • autoCompact

      boolean autoCompact
      Set to true to automatically compact the disk files. Default is false.
      Default:
      false
    • compactionThreshold

      int compactionThreshold
      The 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 maxOplogSize
      The maximum size, in megabytes, of an oplog (operation log) file. Defaults to 1024 MB.
      Default:
      1024L