|
GemFire 7.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.gemstone.gemfire.cache.DiskWriteAttributesFactory
DiskStoreFactory instead
@Deprecated public final class DiskWriteAttributesFactory
Factory for getting DiskWriteAttribute objects
| Constructor Summary | |
|---|---|
DiskWriteAttributesFactory()
Deprecated. Creates a new instance of DiskWriteAttributesFactory ready to create a DiskWriteAttributes with default settings. |
|
DiskWriteAttributesFactory(DiskWriteAttributes dwa)
Deprecated. Creates a new instance of DiskWriteAttributesFactory Factory ready to create a DiskWriteAttributes with the same settings as those
in the specified DiskWriteAttributes. |
|
| Method Summary | |
|---|---|
DiskWriteAttributes |
create()
Deprecated. as of 6.5 use DiskStoreFactory.create(java.lang.String) instead |
void |
setBytesThreshold(long bytesThreshold)
Deprecated. as of 6.5 use DiskStoreFactory.setQueueSize(int) instead |
void |
setCompactionThreshold(int compactionThreshold)
Deprecated. as of 6.5 use DiskStoreFactory.setCompactionThreshold(int) instead |
void |
setMaxOplogSize(int maxOplogSize)
Deprecated. as of 6.5 use DiskStoreFactory.setMaxOplogSize(long) instead |
void |
setMaxOplogSizeInBytes(long maxOplogSize)
Deprecated. as of 6.5 use DiskStoreFactory.setMaxOplogSize(long) instead |
void |
setRollOplogs(boolean rollingEnabled)
Deprecated. as of 6.5 use DiskStoreFactory.setAutoCompact(boolean) instead |
void |
setSynchronous(boolean isSynchronous)
Deprecated. as of 6.5 use AttributesFactory.setDiskSynchronous(boolean) instead |
void |
setTimeInterval(long timeInterval)
Deprecated. as of 6.5 use DiskStoreFactory.setTimeInterval(long) instead |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DiskWriteAttributesFactory()
DiskWriteAttributes with default settings. The default
DiskWriteAttributes thus created will have following
behaviour.
public DiskWriteAttributesFactory(DiskWriteAttributes dwa)
DiskWriteAttributes with the same settings as those
in the specified DiskWriteAttributes.
dwa - the DiskWriteAttributes used to initialize this
DiskWriteAttributesFactory| Method Detail |
|---|
@Deprecated public void setSynchronous(boolean isSynchronous)
AttributesFactory.setDiskSynchronous(boolean) instead
isSynchronous - boolean if true indicates synchronous writes@Deprecated public void setRollOplogs(boolean rollingEnabled)
DiskStoreFactory.setAutoCompact(boolean) instead
rollingEnabled - true if oplogs are to be compacted automatically;
false if no compaction.@Deprecated public void setCompactionThreshold(int compactionThreshold)
DiskStoreFactory.setCompactionThreshold(int) instead
Examples: A threshold of 100 causes any oplog that is no longer being written to to be compactable. A threshold of 0 causes only oplogs that have no live records to be compactable in which case the compact can simply remove the oplog file. A threshold of 50 causes an oplog to become compactable when half of its live records become dead.
@Deprecated public void setMaxOplogSizeInBytes(long maxOplogSize)
DiskStoreFactory.setMaxOplogSize(long) instead
Note that this method sets the same attribute as setMaxOplogSize(int).
The last set of the attribute determines its value.
maxOplogSize - the maximum size of the oplog in bytes.
IllegalArgumentException - if the value specified is a negative number@Deprecated public void setMaxOplogSize(int maxOplogSize)
DiskStoreFactory.setMaxOplogSize(long) instead
Note that this method sets the same attribute as setMaxOplogSizeInBytes(long).
The last set of the attribute determines its value.
maxOplogSize - the maximum size of the oplog in megabytes.
IllegalArgumentException - if the value specified is a negative number@Deprecated public void setTimeInterval(long timeInterval)
DiskStoreFactory.setTimeInterval(long) instead
timeInterval - Time interval in milliseconds
IllegalArgumentException - if the value specified is a negative number@Deprecated public void setBytesThreshold(long bytesThreshold)
DiskStoreFactory.setQueueSize(int) instead
bytesThreshold - the maximum number of bytes to enqueue before async data
is flushed.
IllegalArgumentException - if the value specified is a negative number@Deprecated public DiskWriteAttributes create()
DiskStoreFactory.create(java.lang.String) instead
DiskWriteAttributes with the current settings.
DiskWriteAttributes
IllegalStateException - if the current settings has compaction enabled with maximum Oplog
Size specified as infinite ( represented by 0 ) *
|
GemFire 7.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||