Skip to main content

CallImportance

Used by MFServer to distinguish between incoming calls of different importance levels. For example, less important calls may be rejected if the server is busy.

NameDescriptionValue
CALL_IMPORTANCE_DEFAULTCall importance not set. Usually defaults to eciNormal.0
CALL_IMPORTANCE_NORMALNormal call. Calls of this type are never rejected. Multiple concurrent calls are served by concurrent threads in MFServer. Most calls should specify this importance level.1
CALL_IMPORTANCE_CAN_BE_REJECTEDA lower-priority call (e.g., cache prefilling) that the server may reject when busy. When rejected, the server returns E_MFILES_CALL_REJECTED.2

Runtime Access

This enumeration is available at runtime on the MFiles global object under the VaultEnums namespace. Access enum values using MFiles.VaultEnums.CallImportance.<value>.

Example:

const value = MFiles.VaultEnums.CallImportance.CALL_IMPORTANCE_DEFAULT;

See also: MFiles Global Object