Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

131 lines
5.4 KiB
XML

<Type Name="FileAccessPattern" FullName="Mono.Unix.FileAccessPattern">
<TypeSignature Language="C#" Value="public enum FileAccessPattern" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed FileAccessPattern extends System.Enum" />
<AssemblyInfo>
<AssemblyName>Mono.Posix</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Enum</BaseTypeName>
</Base>
<Docs>
<summary>Possible operating system hints for future file data access.</summary>
<remarks>
<para>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 <c>FileAccessPattern</c> enumeration
contains possible alternate caching behaviors that your operating system
may support.</para>
</remarks>
<altmember cref="M:Mono.Unix.FileHandleOperations.AdviseFileAccessPattern" />
<altmember cref="M:Mono.Unix.UnixStream.AdviseFileAccessPattern" />
</Docs>
<Members>
<Member MemberName="FlushCache">
<MemberSignature Language="C#" Value="FlushCache" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype Mono.Unix.FileAccessPattern FlushCache = int32(4)" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Mono.Unix.FileAccessPattern</ReturnType>
</ReturnValue>
<Docs>
<summary>The specified data will not be needed, and should be removed
from the disk cache if present.</summary>
</Docs>
</Member>
<Member MemberName="NoReuse">
<MemberSignature Language="C#" Value="NoReuse" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype Mono.Unix.FileAccessPattern NoReuse = int32(5)" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Mono.Unix.FileAccessPattern</ReturnType>
</ReturnValue>
<Docs>
<summary>The 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..</summary>
</Docs>
</Member>
<Member MemberName="Normal">
<MemberSignature Language="C#" Value="Normal" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype Mono.Unix.FileAccessPattern Normal = int32(0)" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Mono.Unix.FileAccessPattern</ReturnType>
</ReturnValue>
<Docs>
<summary>No advice given. This is the default.</summary>
</Docs>
</Member>
<Member MemberName="PreLoad">
<MemberSignature Language="C#" Value="PreLoad" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype Mono.Unix.FileAccessPattern PreLoad = int32(3)" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Mono.Unix.FileAccessPattern</ReturnType>
</ReturnValue>
<Docs>
<summary>The specified data will soon be accessed, so it should be
pre-loaded.</summary>
</Docs>
</Member>
<Member MemberName="Random">
<MemberSignature Language="C#" Value="Random" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype Mono.Unix.FileAccessPattern Random = int32(1)" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Mono.Unix.FileAccessPattern</ReturnType>
</ReturnValue>
<Docs>
<summary>The specified data will be accessed in a random order.</summary>
</Docs>
</Member>
<Member MemberName="Sequential">
<MemberSignature Language="C#" Value="Sequential" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype Mono.Unix.FileAccessPattern Sequential = int32(2)" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Mono.Unix.FileAccessPattern</ReturnType>
</ReturnValue>
<Docs>
<summary>
The application will access file data in a sequential order (from
beginning of file to end of file).
</summary>
</Docs>
</Member>
</Members>
</Type>