@Target(value=TYPE) @Retention(value=RUNTIME) @Inherited @Documented @Import(value=DiskStoreConfiguration.class) public @interface EnableDiskStore
EnableDiskStore
annotation marks a Spring @Configuration
annotated application class to configure a single GemFire/Geode DiskStore
bean
in the Spring context in which to persist or overflow data from 1 or more GemFire/Geode
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.public abstract float diskUsageCriticalPercentage
public abstract float diskUsageWarningPercentage
public abstract long maxOplogSize
public abstract int queueSize
Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.