C# 클래스 Squared.Data.Mangler.Internal.ViewCache

상속: IDisposable
파일 보기 프로젝트 열기: sq/DataMangler 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Capacity int
File System.IO.MemoryMappedFiles.MemoryMappedFile
FileLength long

보호된 프로퍼티들

프로퍼티 타입 설명
Caches HashSet

공개 메소드들

메소드 설명
CreateView ( long offset, uint size, MemoryMappedFileAccess access ) : CacheEntry
CreateViewUncached ( long offset, uint size, MemoryMappedFileAccess access, long &actualOffset, uint &actualSize ) : MemoryMappedViewAccessor
Dispose ( ) : void
EmergencyFlush ( ) : void
Flush ( ) : void
ViewCache ( MemoryMappedFile file, long fileLength, int capacity = 4 ) : System

메소드 상세

CreateView() 공개 메소드

public CreateView ( long offset, uint size, MemoryMappedFileAccess access ) : CacheEntry
offset long
size uint
access MemoryMappedFileAccess
리턴 CacheEntry

CreateViewUncached() 공개 메소드

public CreateViewUncached ( long offset, uint size, MemoryMappedFileAccess access, long &actualOffset, uint &actualSize ) : MemoryMappedViewAccessor
offset long
size uint
access MemoryMappedFileAccess
actualOffset long
actualSize uint
리턴 System.IO.MemoryMappedFiles.MemoryMappedViewAccessor

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

EmergencyFlush() 공개 정적인 메소드

public static EmergencyFlush ( ) : void
리턴 void

Flush() 공개 메소드

public Flush ( ) : void
리턴 void

ViewCache() 공개 메소드

public ViewCache ( MemoryMappedFile file, long fileLength, int capacity = 4 ) : System
file System.IO.MemoryMappedFiles.MemoryMappedFile
fileLength long
capacity int
리턴 System

프로퍼티 상세

Caches 보호되어 있는 정적으로 프로퍼티

protected static HashSet Caches
리턴 HashSet

Capacity 공개적으로 프로퍼티

public int Capacity
리턴 int

File 공개적으로 프로퍼티

public MemoryMappedFile,System.IO.MemoryMappedFiles File
리턴 System.IO.MemoryMappedFiles.MemoryMappedFile

FileLength 공개적으로 프로퍼티

public long FileLength
리턴 long