C# Class BTDB.KVDBLayer.OnDiskMemoryMappedFileCollection.File

Inheritance: IFileCollectionFile
Exibir arquivo Open project: Bobris/BTDB

Public Methods

Method Description
File ( OnDiskMemoryMappedFileCollection owner, uint index, string fileName ) : System
GetAppenderWriter ( ) : AbstractBufferedWriter
GetExclusiveReader ( ) : AbstractBufferedReader
GetSize ( ) : ulong
HardFlush ( ) : void
RandomRead ( byte data, int offset, int size, ulong position, bool doNotCache ) : void
Remove ( ) : void
SetSize ( long size ) : void
Truncate ( ) : void

Private Methods

Method Description
Dispose ( ) : void
MapContent ( ) : void
UnmapContent ( ) : void

Method Details

File() public method

public File ( OnDiskMemoryMappedFileCollection owner, uint index, string fileName ) : System
owner OnDiskMemoryMappedFileCollection
index uint
fileName string
return System

GetAppenderWriter() public method

public GetAppenderWriter ( ) : AbstractBufferedWriter
return BTDB.StreamLayer.AbstractBufferedWriter

GetExclusiveReader() public method

public GetExclusiveReader ( ) : AbstractBufferedReader
return BTDB.StreamLayer.AbstractBufferedReader

GetSize() public method

public GetSize ( ) : ulong
return ulong

HardFlush() public method

public HardFlush ( ) : void
return void

RandomRead() public method

public RandomRead ( byte data, int offset, int size, ulong position, bool doNotCache ) : void
data byte
offset int
size int
position ulong
doNotCache bool
return void

Remove() public method

public Remove ( ) : void
return void

SetSize() public method

public SetSize ( long size ) : void
size long
return void

Truncate() public method

public Truncate ( ) : void
return void