C# 클래스 TastyDomainDriven.File.FileAppendOnlyStoreAsync

상속: IAppendOnlyAsync
파일 보기 프로젝트 열기: jaceenet/TastyDomainDriven 1 사용 예제들

공개 메소드들

메소드 설명
Append ( string streamName, byte data, long expectedStreamVersion = -1 ) : System.Threading.Tasks.Task
Dispose ( ) : void
ExtractMasterStream ( DirectoryInfo output, IAppenderNamingPolicy namingPolicy, long afterVersion, int maxCount, bool writeIndexFile = true ) : System.Threading.Tasks.Task

Extract the masterstream to mimic the folder structure the AzureAsyncAppender

FileAppendOnlyStoreAsync ( Options options ) : System
FileAppendOnlyStoreAsync ( string path ) : System
Read ( string filename ) : List
ReadRecords ( long afterVersion, int maxCount ) : Task
ReadRecords ( string streamName, long afterVersion, int maxCount ) : Task

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

비공개 메소드들

메소드 설명
GetDefaultOptions ( string path ) : Options

메소드 상세

Append() 공개 메소드

public Append ( string streamName, byte data, long expectedStreamVersion = -1 ) : System.Threading.Tasks.Task
streamName string
data byte
expectedStreamVersion long
리턴 System.Threading.Tasks.Task

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

ExtractMasterStream() 공개 메소드

Extract the masterstream to mimic the folder structure the AzureAsyncAppender
public ExtractMasterStream ( DirectoryInfo output, IAppenderNamingPolicy namingPolicy, long afterVersion, int maxCount, bool writeIndexFile = true ) : System.Threading.Tasks.Task
output System.IO.DirectoryInfo
namingPolicy IAppenderNamingPolicy
afterVersion long
maxCount int
writeIndexFile bool
리턴 System.Threading.Tasks.Task

FileAppendOnlyStoreAsync() 공개 메소드

public FileAppendOnlyStoreAsync ( Options options ) : System
options Options
리턴 System

FileAppendOnlyStoreAsync() 공개 메소드

public FileAppendOnlyStoreAsync ( string path ) : System
path string
리턴 System

Read() 공개 메소드

public Read ( string filename ) : List
filename string
리턴 List

ReadRecords() 공개 메소드

public ReadRecords ( long afterVersion, int maxCount ) : Task
afterVersion long
maxCount int
리턴 Task

ReadRecords() 공개 메소드

public ReadRecords ( string streamName, long afterVersion, int maxCount ) : Task
streamName string
afterVersion long
maxCount int
리턴 Task