Mono Class Library: Mono.Unix Namespace

Mono.Unix.FileAccessPattern Enumeration

Possible operating system hints for future file data access. [Edit]
public enum FileAccessPattern

See Also

FileHandleOperations.AdviseFileAccessPattern
UnixStream.AdviseFileAccessPattern

Remarks

Operating systems maintain a cache of all open files to speed up performance for common tasks. The default caching behavior may not be appropriate for some tasks. The FileAccessPattern enumeration contains possible alternate caching behaviors that your operating system may support. [Edit]

Members

Member NameDescription
FlushCacheThe specified data will not be needed, and should be removed from the disk cache if present. [Edit]
NoReuseThe specified data will not be re-used (i.e. it will only be used once), so it shouldn't be kept around in the disk cache after it has been used.. [Edit]
NormalNo advice given. This is the default. [Edit]
PreLoadThe specified data will soon be accessed, so it should be pre-loaded. [Edit]
RandomThe specified data will be accessed in a random order. [Edit]
Sequential The application will access file data in a sequential order (from beginning of file to end of file). [Edit]

Requirements

Namespace: Mono.Unix
Assembly: Mono.Posix (in Mono.Posix.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0