Initializes a new instance of the file cache.
Namespace: Nemiro.Data.CachingAssembly: Nemiro.Data (in Nemiro.Data.dll) Version: 2.11.4.126 (2.11.4.126)
Syntax
Parameters
- cachePath
- Type: System String
Storage path.
- bufferSize
- Type: System Int64
Memory buffer size (Kb).
- binder
- Type: System.Runtime.Serialization SerializationBinder
Class instance for serialization a custom objects.
- accessTime
- Type: System TimeSpan
Waiting time gain access to the file of cache entry. After this time, if the file entry are not available, an exception is thrown.
- bufferAccessTime
- Type: System TimeSpan
Waiting time gain access to the memory buffer.
See Also