C# 클래스 Platform.StreamStorage.File.FileEventStoreChunk

Represents collection of events within a single physical file. It can be opened as mutable or as read-only
상속: IDisposable
파일 보기 프로젝트 열기: Lokad/lokad-data-platform 1 사용 예제들

공개 메소드들

메소드 설명
Append ( string key, IEnumerable data ) : ChunkAppendResult
CreateNew ( string path ) : FileEventStoreChunk
Dispose ( ) : void
OpenExistingForWriting ( string path, long offset ) : FileEventStoreChunk
OpenForReading ( string path ) : FileEventStoreChunk
ReadAll ( long starting, int maxCount ) : IEnumerable
Reset ( ) : void

비공개 메소드들

메소드 설명
FileEventStoreChunk ( FileStream stream, bool isMutable ) : System

메소드 상세

Append() 공개 메소드

public Append ( string key, IEnumerable data ) : ChunkAppendResult
key string
data IEnumerable
리턴 ChunkAppendResult

CreateNew() 공개 정적인 메소드

public static CreateNew ( string path ) : FileEventStoreChunk
path string
리턴 FileEventStoreChunk

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

OpenExistingForWriting() 공개 정적인 메소드

public static OpenExistingForWriting ( string path, long offset ) : FileEventStoreChunk
path string
offset long
리턴 FileEventStoreChunk

OpenForReading() 공개 정적인 메소드

public static OpenForReading ( string path ) : FileEventStoreChunk
path string
리턴 FileEventStoreChunk

ReadAll() 공개 메소드

public ReadAll ( long starting, int maxCount ) : IEnumerable
starting long
maxCount int
리턴 IEnumerable

Reset() 공개 메소드

public Reset ( ) : void
리턴 void