FileCache Constructor (String, Int64, SerializationBinder, TimeSpan, TimeSpan)Nemiro.Data.dll
Initializes a new instance of the file cache.

Namespace: Nemiro.Data.Caching
Assembly: Nemiro.Data (in Nemiro.Data.dll) Version: 2.11.4.126 (2.11.4.126)
Syntax

public FileCache(
	string cachePath,
	long bufferSize,
	SerializationBinder binder,
	TimeSpan accessTime,
	TimeSpan bufferAccessTime
)

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