Gemfire JavaDocs
Package org.apache.geode.cache
Interface DiskWriteAttributes
-
- All Superinterfaces:
java.io.Serializable
@Deprecated public interface DiskWriteAttributes extends java.io.Serializable
Deprecated.as of 6.5 useDiskStore
insteadImmutable parameter object for describing how region entries should be written to disk.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
Deprecated.TwoDiskWriteAttributes
are equal if the both specify the synchronous writes, or they both specify asynchronous writes with the same time interval, bytes threshold, maxOplogSize and compaction valueslong
getBytesThreshold()
Deprecated.as of 6.5 useDiskStore.getQueueSize()
instead.int
getMaxOplogSize()
Deprecated.as of 6.5 useDiskStore.getMaxOplogSize()
instead.long
getTimeInterval()
Deprecated.as of 6.5 useDiskStore.getTimeInterval()
instead.boolean
isRollOplogs()
Deprecated.Returns true if the oplogs is to be rolled to a more condensed format (on disk)boolean
isSynchronous()
Deprecated.as of 6.5 useRegionAttributes.isDiskSynchronous()
instead.
-
-
-
Method Detail
-
isSynchronous
@Deprecated boolean isSynchronous()
Deprecated.as of 6.5 useRegionAttributes.isDiskSynchronous()
instead.Returns true if thisDiskWriteAttributes
object 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 int 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 long 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 thisDiskWriteAttributes
configures synchronous writing, thentimeInterval
has no meaning.- Returns:
- Returns the time interval in milliseconds that can elapse between two writes to disk
-
getBytesThreshold
@Deprecated long 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 thisDiskWriteAttributes
configures synchronous writing, thenbytesThreshold
has no meaning.- Returns:
- Returns the number of bytes that can be buffered before being written to disk
-
equals
boolean equals(java.lang.Object o)
Deprecated.TwoDiskWriteAttributes
are 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- Overrides:
equals
in classjava.lang.Object
- Returns:
- true if o is equal else false
-
-