←Select platform

MinifyCacheItem Property

Summary

IndicateS whether to minify the data stored in the cache for each status.

Syntax
C#
C++/CLI
Python
public bool MinifyCacheItem { get; set; } 
public:  
   property bool MinifyCacheItem 
   { 
      bool get() 
      void set(bool value) 
   } 
MinifyCacheItem # get and set (StatusJobDataRunner) 

Property Value

true to minify the data stored in the cache for each status; otherwise, false. The default value is true.

Remarks

A clone of the StatusJobData associated with a job is stored in the cache and can be retrieved using QueryJobStatus. Not all the members of the class are required once the job is running, therefore, the runner can minimize the size of the data by clearing the members not required for reading the status of the job.

When the value of MinifyCacheItem is true (the default value), the runner will clear the values of these members before storing StatusJobData instances into the cache:

  • StatusCacheConfiguration
  • StatusCachePolicy
  • DocumentConverterOptions
  • DocumentWriterOptions
  • OcrEngineName
  • OcrEngineStartupParameters
  • OcrEngineSettings
  • InputCacheConfiguration
  • OutputCacheConfiguration
  • OutputCachePolicy
  • OutputDocumentId

Since these members are not essential for the application calling QueryJobStatus.

The following values are always cleared out before storing StatusJobData instances into the cache:

  • DocumentConverter
  • StatusCache
  • StatusCacheItemPolicy
  • OutputCache
  • OutputCacheItemPolicy
  • InputCache
Requirements

Target Platforms

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document.Converter Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.