@Target(value=TYPE) @Retention(value=RUNTIME) @Inherited @Documented @Import(value=DiskStoreConfiguration.class) public @interface EnableDiskStore
EnableDiskStore
annotation marks a Spring @Configuration
annotated Class
to configure a single Pivotal GemFire/Apache Geode DiskStore
bean in the Spring application context
in which to persist or overflow data from 1 or more cache Regions
.DiskStore
,
Region
,
Import
,
AliasFor
,
DiskStoreConfiguration
,
DiskStoreConfigurer
,
EnableDiskStores
Modifier and Type | Optional Element and Description |
---|---|
boolean |
allowForceCompaction
Set to true to allow disk compaction to be forced on this disk store.
|
boolean |
autoCompact
Set to true to automatically compact the disk files.
|
int |
compactionThreshold
The threshold at which an oplog will become compactable.
|
EnableDiskStore.DiskDirectory[] |
diskDirectories
File system directory location(s) in which the
DiskStore files are stored. |
float |
diskUsageCriticalPercentage
Disk usage above this threshold generates an error message and shuts down the member's cache.
|
float |
diskUsageWarningPercentage
Disk usage above this threshold generates a warning message.
|
long |
maxOplogSize
The maximum size, in megabytes, of an oplog (operation log) file.
|
String |
name
Name of the
DiskStore . |
int |
queueSize
Maximum number of operations that can be asynchronously queued to be written to disk.
|
long |
timeInterval
The number of milliseconds that can elapse before unwritten data is written to disk.
|
String |
value
Name of the
DiskStore . |
int |
writeBufferSize
The size of the write buffer that this disk store uses when writing data to disk.
|
public abstract boolean allowForceCompaction
public abstract boolean autoCompact
public abstract int compactionThreshold
public abstract EnableDiskStore.DiskDirectory[] diskDirectories
DiskStore
files are stored.
Defaults to current working directory with 2 petabytes of storage capacity maximum size.
Use either the spring.data.gemfire.disk.store.<diskStoreName>.directory[#].location,
spring.data.gemfire.disk.store.<diskStoreName>.directory[#].size,
spring.data.gemfire.disk.store.<diskStoreName>.directory.location,
spring.data.gemfire.disk.store.<diskStoreName>.directory.size properties,
or the spring.data.gemfire.disk.store.directory[#].location
spring.data.gemfire.disk.store.directory[#].size,
spring.data.gemfire.disk.store.directory.location,
spring.data.gemfire.disk.store.directory.size properties,
in application.properties.public abstract float diskUsageCriticalPercentage
public abstract float diskUsageWarningPercentage
public abstract long maxOplogSize
public abstract int queueSize
public abstract long timeInterval
public abstract int writeBufferSize
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.