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

Checkpointed stream stored in file system with some specific naming conventions
상속: IDisposable
파일 보기 프로젝트 열기: Lokad/lokad-data-platform 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
StoreId EventStoreId

공개 메소드들

메소드 설명
CreateNew ( string root, EventStoreId storeId ) : FileEventStore
Dispose ( ) : void
ExistsValid ( string root, EventStoreId storeId ) : bool
FileEventStore ( EventStoreId storeId, FileEventStoreChunk store, FileEventPointer checkpoint ) : System
OpenExistingForWriting ( string root, EventStoreId storeId ) : FileEventStore
OpenForReading ( string root, EventStoreId storeId ) : FileEventStore
ReadAll ( EventStoreOffset startOffset, int maxRecordCount ) : IEnumerable
Reset ( ) : void
Write ( string streamId, IEnumerable eventData ) : void

메소드 상세

CreateNew() 공개 정적인 메소드

public static CreateNew ( string root, EventStoreId storeId ) : FileEventStore
root string
storeId EventStoreId
리턴 FileEventStore

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

ExistsValid() 공개 정적인 메소드

public static ExistsValid ( string root, EventStoreId storeId ) : bool
root string
storeId EventStoreId
리턴 bool

FileEventStore() 공개 메소드

public FileEventStore ( EventStoreId storeId, FileEventStoreChunk store, FileEventPointer checkpoint ) : System
storeId EventStoreId
store FileEventStoreChunk
checkpoint FileEventPointer
리턴 System

OpenExistingForWriting() 공개 정적인 메소드

public static OpenExistingForWriting ( string root, EventStoreId storeId ) : FileEventStore
root string
storeId EventStoreId
리턴 FileEventStore

OpenForReading() 공개 정적인 메소드

public static OpenForReading ( string root, EventStoreId storeId ) : FileEventStore
root string
storeId EventStoreId
리턴 FileEventStore

ReadAll() 공개 메소드

public ReadAll ( EventStoreOffset startOffset, int maxRecordCount ) : IEnumerable
startOffset Platform.StreamClients.EventStoreOffset
maxRecordCount int
리턴 IEnumerable

Reset() 공개 메소드

public Reset ( ) : void
리턴 void

Write() 공개 메소드

public Write ( string streamId, IEnumerable eventData ) : void
streamId string
eventData IEnumerable
리턴 void

프로퍼티 상세

StoreId 공개적으로 프로퍼티

public EventStoreId StoreId
리턴 EventStoreId