Package org.apache.geode.cache
Interface DiskWriteAttributes
- All Superinterfaces:
Serializable
Deprecated.
Immutable parameter object for describing how region entries should be
written to disk.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanDeprecated.TwoDiskWriteAttributesare equal if the both specify the synchronous writes, or they both specify asynchronous writes with the same time interval, bytes threshold, maxOplogSize and compaction valueslongDeprecated.as of 6.5 useDiskStore.getQueueSize()instead.intDeprecated.as of 6.5 useDiskStore.getMaxOplogSize()instead.longDeprecated.as of 6.5 useDiskStore.getTimeInterval()instead.booleanDeprecated.Returns true if the oplogs is to be rolled to a more condensed format (on disk)booleanDeprecated.as of 6.5 useRegionAttributes.isDiskSynchronous()instead.
-
Method Details
-
isSynchronous
Deprecated.as of 6.5 useRegionAttributes.isDiskSynchronous()instead.Returns true if thisDiskWriteAttributesobject configures synchronous writes.- Returns:
- Returns true if writes to disk are synchronous and false otherwise
-
isRollOplogs
boolean isRollOplogs()Deprecated.Returns true if the oplogs is to be rolled to a more condensed format (on disk)- Returns:
- Returns true if the oplogs is to be rolled or false otherwise
-
getMaxOplogSize
Deprecated.as of 6.5 useDiskStore.getMaxOplogSize()instead.Get the maximum size in megabytes a single oplog (operation log) file should be- Returns:
- the maximum size the operations log file can be
-
getTimeInterval
Deprecated.as of 6.5 useDiskStore.getTimeInterval()instead.Returns the number of milliseconds that can elapse before unwritten data is written to disk. If thisDiskWriteAttributesconfigures synchronous writing, thentimeIntervalhas no meaning.- Returns:
- Returns the time interval in milliseconds that can elapse between two writes to disk
-
getBytesThreshold
Deprecated.as of 6.5 useDiskStore.getQueueSize()instead.Returns the number of unwritten bytes of data that can be enqueued before being written to disk. If thisDiskWriteAttributesconfigures synchronous writing, thenbytesThresholdhas no meaning.- Returns:
- Returns the number of bytes that can be buffered before being written to disk
-
equals
Deprecated.TwoDiskWriteAttributesare equal if the both specify the synchronous writes, or they both specify asynchronous writes with the same time interval, bytes threshold, maxOplogSize and compaction values
-
DiskStoreinstead