C# 클래스 Volante.NullFile

This implementation of IFile interface can be used to make Volante as an main-memory database. It should be used when cacheSizeInBytes is set to 0. In this case all pages are cached in memory and NullFile is used just as a stub. NullFile should be used only when data is transient i.e. it will not be saved between database sessions. If you need an in-memory database that provides data persistency, you should use normal file and infinite page pool size.
상속: IFile
파일 보기 프로젝트 열기: kjk/volante

공개 메소드들

메소드 설명
Close ( ) : void
Lock ( ) : void
Read ( long pos, byte buf ) : int
Sync ( ) : void
Write ( long pos, byte buf ) : void

메소드 상세

Close() 공개 메소드

public Close ( ) : void
리턴 void

Lock() 공개 메소드

public Lock ( ) : void
리턴 void

Read() 공개 메소드

public Read ( long pos, byte buf ) : int
pos long
buf byte
리턴 int

Sync() 공개 메소드

public Sync ( ) : void
리턴 void

Write() 공개 메소드

public Write ( long pos, byte buf ) : void
pos long
buf byte
리턴 void