Determines how long to wait between file access errors before an exception is thrown.
public TimeSpan AccessTimeout { get; set; }
A value that determines how long to wait between file access errors before an exception is thrown. Default value is 4 seconds.
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.