|
GemFire 5.7.1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface DiskWriteAttributes
Immutable parameter object for describing how region entries should be written to disk.
DiskWriteAttributesFactory,
AttributesFactory.setDiskWriteAttributes(com.gemstone.gemfire.cache.DiskWriteAttributes),
RegionAttributes.getDiskWriteAttributes(),
Region.writeToDisk()| Method Summary | |
|---|---|
boolean |
equals(Object o)
Two DiskWriteAttributes are equal if the both
specify the synchronous writes, or they both specify asynchronous
writes with the same time interval, bytes threshold, maxOplogSize and
rolling values |
long |
getBytesThreshold()
Returns the number of unwritten bytes of data that can be enqueued before being written to disk. |
int |
getMaxOplogSize()
Get the maximum size in megabytes a single oplog (operation log) file should be |
long |
getTimeInterval()
Returns the number of milliseconds that can elapse before unwritten data is written to disk. |
boolean |
isRollOplogs()
Returns true if the oplogs is to be rolled to a more condensed format (on disk) |
boolean |
isSynchronous()
Returns true if this DiskWriteAttributes object
configures synchronous writes. |
| Method Detail |
|---|
boolean isSynchronous()
DiskWriteAttributes object
configures synchronous writes.
boolean isRollOplogs()
int getMaxOplogSize()
IllegalArgumentException - if the property value is not a valid positive numberlong getTimeInterval()
DiskWriteAttributes configures synchronous writing,
then timeInterval has no meaning.
IllegalArgumentException - if the property value is not a valid positive numberlong getBytesThreshold()
DiskWriteAttributes configures synchronous writing,
then bytesThreshold has no meaning.
IllegalArgumentException - if the property value is not a valid positive numberboolean equals(Object o)
DiskWriteAttributes are equal if the both
specify the synchronous writes, or they both specify asynchronous
writes with the same time interval, bytes threshold, maxOplogSize and
rolling values
equals in class Object
|
GemFire 5.7.1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||