BlobManagementOptions

BlobManagementOptions class

Represents options which can be used to manage BLOB handling rules and other BLOB settings.

The BlobManagementOptions type exposes the following members:

Constructors

Name Description
BlobManagementOptions() Creates new default blob management options.

Properties

Name Description
presentation_locking_behavior This property defines if an instance of the Presentation class can be an owner of the source - file
or stream during the instance lifetime. If the instance is an owner, it locks the source. This helps
to improve memory consumption and performance while working with BLOBs, but the source (stream or file)
can’t be changed during Presentation’s instance lifetime.
is_temporary_files_allowed This property defines if temporary files can be created while working with BLOBs, what greatly
decreases the memory consumption but requires permissions to create files.
temp_files_root_path The root path where temporary files will be created. System temorary directory will be used by default.
Hosting process should have permissions to
create files and folders there.
max_blobs_bytes_in_memory Defines the maximum amount (in bytes) that all BLOBs in total may occupy in memory. First, all BLOBs
loading into memory as default behavior and only when it reaches the limit defined by this property,
other mechanisms (such as temporary files) can be involved. In terms of performance, the most efficient
way is storing BLOBs in memory, but from the other side, it leads to a high memory consumption what
may be undesirable. Using this property, you may set the optimal behavior for your environment or
other requirements.

See Also