Class DiskStoreType
java.lang.Object
org.apache.geode.cache.configuration.CacheElement
org.apache.geode.cache.configuration.DiskStoreType
- All Implemented Interfaces:
Serializable,org.apache.geode.lang.Identifiable<String>
A "disk-store" element specifies a DiskStore for persistence.
Java class for disk-store-type complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="disk-store-type">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="disk-dirs" type="{http://geode.apache.org/schema/cache}disk-dirs-type" minOccurs="0"/>
</sequence>
<attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="auto-compact" type="{http://www.w3.org/2001/XMLSchema}boolean" />
<attribute name="compaction-threshold" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="allow-force-compaction" type="{http://www.w3.org/2001/XMLSchema}boolean" />
<attribute name="max-oplog-size" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="time-interval" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="write-buffer-size" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="queue-size" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="disk-usage-warning-percentage" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="disk-usage-critical-percentage" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the compactionThreshold property.Gets the value of the diskUsageCriticalPercentage property.Gets the value of the diskUsageWarningPercentage property.getId()Gets the value of the maxOplogSize property.getName()Gets the value of the name property.Gets the value of the queueSize property.Gets the value of the timeInterval property.Gets the value of the writeBufferSize property.Gets the value of the allowForceCompaction property.Gets the value of the autoCompact property.voidsetAllowForceCompaction(Boolean value) Sets the value of the allowForceCompaction property.voidsetAutoCompact(Boolean value) Sets the value of the autoCompact property.voidsetCompactionThreshold(String value) Sets the value of the compactionThreshold property.voidsetDiskDirs(List<DiskDirType> diskDirs) voidSets the value of the diskUsageCriticalPercentage property.voidSets the value of the diskUsageWarningPercentage property.voidsetMaxOplogSize(String value) Sets the value of the maxOplogSize property.voidSets the value of the name property.voidsetQueueSize(String value) Sets the value of the queueSize property.voidsetTimeInterval(String value) Sets the value of the timeInterval property.voidsetWriteBufferSize(String value) Sets the value of the writeBufferSize property.
-
Field Details
-
diskDirs
-
name
-
autoCompact
-
compactionThreshold
-
allowForceCompaction
-
maxOplogSize
-
timeInterval
-
writeBufferSize
-
queueSize
-
diskUsageWarningPercentage
-
diskUsageCriticalPercentage
-
-
Constructor Details
-
DiskStoreType
public DiskStoreType()
-
-
Method Details
-
getId
-
getName
Gets the value of the name property. possible object isString- Returns:
- the name.
-
getDiskDirs
-
setDiskDirs
-
setName
Sets the value of the name property. allowed object isString- Parameters:
value- the name.
-
isAutoCompact
Gets the value of the autoCompact property. possible object isBoolean- Returns:
- true if auto compaction is enabled, false otherwise.
-
setAutoCompact
Sets the value of the autoCompact property. allowed object isBoolean- Parameters:
value- enables or disables auto compaction.
-
getCompactionThreshold
Gets the value of the compactionThreshold property. possible object isString- Returns:
- the compaction threshold.
-
setCompactionThreshold
Sets the value of the compactionThreshold property. allowed object isString- Parameters:
value- the compaction threshold.
-
isAllowForceCompaction
Gets the value of the allowForceCompaction property. possible object isBoolean- Returns:
- true is force compaction is allowed, false if not.
-
setAllowForceCompaction
Sets the value of the allowForceCompaction property. allowed object isBoolean- Parameters:
value- allows or disallows force compaction.
-
getMaxOplogSize
Gets the value of the maxOplogSize property. possible object isString- Returns:
- the maximum oplog size.
-
setMaxOplogSize
Sets the value of the maxOplogSize property. allowed object isString- Parameters:
value- the maximum oplog size.
-
getTimeInterval
Gets the value of the timeInterval property. possible object isString- Returns:
- the time interval.
-
setTimeInterval
Sets the value of the timeInterval property. allowed object isString- Parameters:
value- the time interval.
-
getWriteBufferSize
Gets the value of the writeBufferSize property. possible object isString- Returns:
- the write-buffer size.
-
setWriteBufferSize
Sets the value of the writeBufferSize property. allowed object isString- Parameters:
value- the write-buffer size.
-
getQueueSize
Gets the value of the queueSize property. possible object isString- Returns:
- the queue size.
-
setQueueSize
Sets the value of the queueSize property. allowed object isString- Parameters:
value- the queue size.
-
getDiskUsageWarningPercentage
Gets the value of the diskUsageWarningPercentage property. possible object isString- Returns:
- the disk usage warning percentage.
-
setDiskUsageWarningPercentage
Sets the value of the diskUsageWarningPercentage property. allowed object isString- Parameters:
value- the disk usage warning percentage.
-
getDiskUsageCriticalPercentage
Gets the value of the diskUsageCriticalPercentage property. possible object isString- Returns:
- the disk usage critical percentage.
-
setDiskUsageCriticalPercentage
Sets the value of the diskUsageCriticalPercentage property. allowed object isString- Parameters:
value- the disk usage critical percentage.
-