C# 클래스 TastyDomainDriven.Azure.AzureBlob.AzureBlobAppenderWriteOnce

AzureBlobAppender optimized for converting existing event streams. Append is done when calling WriteAll() not before;
상속: IAppendOnlyAsync
파일 보기 프로젝트 열기: jaceenet/TastyDomainDriven 1 사용 예제들

공개 메소드들

메소드 설명
Append ( string streamName, byte data, long expectedStreamVersion = -1 ) : System.Threading.Tasks.Task
AzureBlobAppenderWriteOnce ( Microsoft.WindowsAzure.Storage.CloudStorageAccount storage, string container, AzureBlobAppenderOptions options = null ) : System
AzureBlobAppenderWriteOnce ( string connection, string container, AzureBlobAppenderOptions options = null ) : System
Initialize ( ) : System.Threading.Tasks.Task
ReadRecords ( long afterVersion, int maxCount ) : Task
ReadRecords ( string streamName, long afterVersion, int maxCount ) : Task
WriteAll ( ) : System.Threading.Tasks.Task

비공개 메소드들

메소드 설명
GetNamedStreams ( AzureBlobAppenderHelper helper ) : IEnumerable

메소드 상세

Append() 공개 메소드

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

AzureBlobAppenderWriteOnce() 공개 메소드

public AzureBlobAppenderWriteOnce ( Microsoft.WindowsAzure.Storage.CloudStorageAccount storage, string container, AzureBlobAppenderOptions options = null ) : System
storage Microsoft.WindowsAzure.Storage.CloudStorageAccount
container string
options AzureBlobAppenderOptions
리턴 System

AzureBlobAppenderWriteOnce() 공개 메소드

public AzureBlobAppenderWriteOnce ( string connection, string container, AzureBlobAppenderOptions options = null ) : System
connection string
container string
options AzureBlobAppenderOptions
리턴 System

Initialize() 공개 메소드

public Initialize ( ) : System.Threading.Tasks.Task
리턴 System.Threading.Tasks.Task

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

WriteAll() 공개 메소드

public WriteAll ( ) : System.Threading.Tasks.Task
리턴 System.Threading.Tasks.Task