Error processing SSI file
LEADTOOLS Caching (Leadtools.Caching assembly)

Show in webframe

AccessTimeout Property






Determines how long to wait between file access errors before an exception is thrown.
Syntax
public TimeSpan AccessTimeout {get; set;}
'Declaration
 
Public Property AccessTimeout As TimeSpan
'Usage
 
Dim instance As FileCache
Dim value As TimeSpan
 
instance.AccessTimeout = value
 
value = instance.AccessTimeout
public long getAccessTimeout()
public void setAccessTimeout(long value)
            
public:
property TimeSpan AccessTimeout {
   TimeSpan get();
   void set (    TimeSpan value);
}

Property Value

A value that determines how long to wait between file access errors before an exception is thrown. Default value is 4 seconds.
Remarks

The cache uses a file system and the items can be accessed by multiple threads or even processes at the same. When the cache is updating a cache item or its policy, the file on disk is opened with exclusive write access. Meaning if another thread or process is trying to access the same item, an error is occurred. In this case, the cache will re-try the access at specified small intervals till it succeeds. If it cannot access the file after AccessTimeout, the exception is thrown.

Requirements

Target Platforms

See Also

Reference

FileCache Class
FileCache Members

Error processing SSI file
Leadtools.Caching requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features