C# 클래스 Platform.StreamStorage.Azure.AzureEventStoreChunk

Represents collection of events within a Windows Azure Blob (residing inside a CloudPageBlob). It can be opened as mutable or as read-only.
상속: IDisposable
파일 보기 프로젝트 열기: Lokad/lokad-data-platform 1 사용 예제들

공개 메소드들

메소드 설명
Append ( string streamId, IEnumerable eventData ) : ChunkAppendResult
AzureEventStoreChunk ( Microsoft.WindowsAzure.StorageClient.CloudPageBlob blob, long offset, long size ) : System
CreateNewForWriting ( Microsoft.WindowsAzure.StorageClient.CloudPageBlob blob ) : AzureEventStoreChunk
Dispose ( ) : void
OpenExistingForReading ( Microsoft.WindowsAzure.StorageClient.CloudPageBlob blob, long length ) : AzureEventStoreChunk
OpenExistingForWriting ( Microsoft.WindowsAzure.StorageClient.CloudPageBlob blob, long offset, long length ) : AzureEventStoreChunk
ReadAll ( long startOffset, long endOffset, int maxRecordCount ) : IEnumerable
Reset ( ) : void
WriteProc ( int offset, Stream source ) : void

비공개 메소드들

메소드 설명
BufferTip ( long position, int count ) : byte[]
SetLength ( Microsoft.WindowsAzure.StorageClient.CloudPageBlob blob, long newLength, int timeout = 10000 ) : void

메소드 상세

Append() 공개 메소드

public Append ( string streamId, IEnumerable eventData ) : ChunkAppendResult
streamId string
eventData IEnumerable
리턴 ChunkAppendResult

AzureEventStoreChunk() 공개 메소드

public AzureEventStoreChunk ( Microsoft.WindowsAzure.StorageClient.CloudPageBlob blob, long offset, long size ) : System
blob Microsoft.WindowsAzure.StorageClient.CloudPageBlob
offset long
size long
리턴 System

CreateNewForWriting() 공개 정적인 메소드

public static CreateNewForWriting ( Microsoft.WindowsAzure.StorageClient.CloudPageBlob blob ) : AzureEventStoreChunk
blob Microsoft.WindowsAzure.StorageClient.CloudPageBlob
리턴 AzureEventStoreChunk

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

OpenExistingForReading() 공개 정적인 메소드

public static OpenExistingForReading ( Microsoft.WindowsAzure.StorageClient.CloudPageBlob blob, long length ) : AzureEventStoreChunk
blob Microsoft.WindowsAzure.StorageClient.CloudPageBlob
length long
리턴 AzureEventStoreChunk

OpenExistingForWriting() 공개 정적인 메소드

public static OpenExistingForWriting ( Microsoft.WindowsAzure.StorageClient.CloudPageBlob blob, long offset, long length ) : AzureEventStoreChunk
blob Microsoft.WindowsAzure.StorageClient.CloudPageBlob
offset long
length long
리턴 AzureEventStoreChunk

ReadAll() 공개 메소드

public ReadAll ( long startOffset, long endOffset, int maxRecordCount ) : IEnumerable
startOffset long
endOffset long
maxRecordCount int
리턴 IEnumerable

Reset() 공개 메소드

public Reset ( ) : void
리턴 void

WriteProc() 공개 메소드

public WriteProc ( int offset, Stream source ) : void
offset int
source Stream
리턴 void