GemFire 6.6.3

com.gemstone.gemfire.cache
Interface DiskWriteAttributes

All Superinterfaces:
Serializable

Deprecated. as of 6.5 use DiskStore instead

public interface DiskWriteAttributes
extends Serializable

Immutable parameter object for describing how region entries should be written to disk.

Since:
3.2
See Also:
DiskWriteAttributesFactory, AttributesFactory.setDiskWriteAttributes(com.gemstone.gemfire.cache.DiskWriteAttributes), RegionAttributes.getDiskWriteAttributes(), Region.writeToDisk()

Method Summary
 boolean equals(Object o)
          Deprecated. 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 compaction values
 long getBytesThreshold()
          Deprecated. as of 6.5 use DiskStore.getQueueSize() instead.
 int getMaxOplogSize()
          Deprecated. as of 6.5 use DiskStore.getMaxOplogSize() instead.
 long getTimeInterval()
          Deprecated. as of 6.5 use DiskStore.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 use RegionAttributes.isDiskSynchronous() instead.
 

Method Detail

isSynchronous

boolean isSynchronous()
Deprecated. as of 6.5 use RegionAttributes.isDiskSynchronous() instead.

Returns true if this DiskWriteAttributes 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

int getMaxOplogSize()
Deprecated. as of 6.5 use DiskStore.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

long getTimeInterval()
Deprecated. as of 6.5 use DiskStore.getTimeInterval() instead.

Returns the number of milliseconds that can elapse before unwritten data is written to disk. If this DiskWriteAttributes configures synchronous writing, then timeInterval has no meaning.

Returns:
Returns the time interval in milliseconds that can elapse between two writes to disk

getBytesThreshold

long getBytesThreshold()
Deprecated. as of 6.5 use DiskStore.getQueueSize() instead.

Returns the number of unwritten bytes of data that can be enqueued before being written to disk. If this DiskWriteAttributes configures synchronous writing, then bytesThreshold has no meaning.

Returns:
Returns the number of bytes that can be buffered before being written to disk

equals

boolean equals(Object o)
Deprecated. 
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 compaction values

Overrides:
equals in class Object
Returns:
true if o is equal else false

GemFire 6.6.3

Copyright © 1997-2012 VMware, Inc. All rights reserved.