public class BlobManagementOptions extends java.lang.Object implements IBlobManagementOptions
Represents options which can be used to manage BLOB handling rules and other BLOB settings.
| Constructor and Description |
|---|
BlobManagementOptions()
Creates new default blob management options.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getMaxBlobsBytesInMemory()
A threshold that indicates the maximum amount of bytes which BLOBs can occupied in memory.
|
int |
getPresentationLockingBehavior()
Represents the locking behavior for the presentation's source (stream or file).
|
java.lang.String |
getTempFilesRootPath()
Represents the root path on the filesystem, where the temporary files will be stored.
|
boolean |
isTemporaryFilesAllowed()
Set that using of temporary files is not allowed to optimize memory consumption while working with
large amounts of data during presentation's lifetime.
|
void |
setMaxBlobsBytesInMemory(long value)
A threshold that indicates the maximum amount of bytes which BLOBs can occupied in memory.
|
void |
setPresentationLockingBehavior(int value)
Represents the locking behavior for the presentation's source (stream or file).
|
void |
setTempFilesRootPath(java.lang.String value)
Represents the root path on the filesystem, where the temporary files will be stored.
|
void |
setTemporaryFilesAllowed(boolean value)
Set that using of temporary files is not allowed to optimize memory consumption while working with
large amounts of data during presentation's lifetime.
|
public BlobManagementOptions()
Creates new default blob management options.
public final int getPresentationLockingBehavior()
Represents the locking behavior for the presentation's source (stream or file).
getPresentationLockingBehavior in interface IBlobManagementOptionspublic final void setPresentationLockingBehavior(int value)
Represents the locking behavior for the presentation's source (stream or file).
setPresentationLockingBehavior in interface IBlobManagementOptionspublic final boolean isTemporaryFilesAllowed()
Set that using of temporary files is not allowed to optimize memory consumption while working with large amounts of data during presentation's lifetime. If false, OutOfMemoryException can be thrown.
isTemporaryFilesAllowed in interface IBlobManagementOptionspublic final void setTemporaryFilesAllowed(boolean value)
Set that using of temporary files is not allowed to optimize memory consumption while working with large amounts of data during presentation's lifetime. If false, OutOfMemoryException can be thrown.
setTemporaryFilesAllowed in interface IBlobManagementOptionspublic final java.lang.String getTempFilesRootPath()
Represents the root path on the filesystem, where the temporary files will be stored. System temorary directory will be used by default.
getTempFilesRootPath in interface IBlobManagementOptionspublic final void setTempFilesRootPath(java.lang.String value)
Represents the root path on the filesystem, where the temporary files will be stored. System temorary directory will be used by default.
setTempFilesRootPath in interface IBlobManagementOptionspublic final long getMaxBlobsBytesInMemory()
A threshold that indicates the maximum amount of bytes which BLOBs can occupied in memory. After
this threshold was reached, all new BLOBs will be placed in temporary files and will not affect the
total memory consumption of the process.
IsTemporaryFilesAllowed(isTemporaryFilesAllowed()/setTemporaryFilesAllowed(boolean)) should be set to true to use this property.
getMaxBlobsBytesInMemory in interface IBlobManagementOptionspublic final void setMaxBlobsBytesInMemory(long value)
A threshold that indicates the maximum amount of bytes which BLOBs can occupied in memory. After
this threshold was reached, all new BLOBs will be placed in temporary files and will not affect the
total memory consumption of the process.
IsTemporaryFilesAllowed(isTemporaryFilesAllowed()/setTemporaryFilesAllowed(boolean)) should be set to true to use this property.
setMaxBlobsBytesInMemory in interface IBlobManagementOptionsCopyright © 2004-2022 Aspose Pty Ltd. All Rights Reserved.