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

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

공개 프로퍼티들

프로퍼티 타입 설명
Hashes BlobIndex>.Dictionary
OrderedIndex List

공개 메소드들

메소드 설명
AppendWrite ( FileRecord record, string filename ) : System.Threading.Tasks.Task
AppendWriteNoLease ( FileRecord record, string filename ) : System.Threading.Tasks.Task
CreateIfNotExist ( ) : System.Threading.Tasks.Task
EnsureLease ( ) : System.Threading.Tasks.Task
FileIndexLock ( Microsoft.WindowsAzure.Storage.CloudStorageAccount storage, string container, string filename, System.TimeSpan leaseTime = null ) : System

FileIndex for keeping order of events...

GetLeaseAndRead ( bool shouldexist = false ) : Task
ReadIndex ( ) : System.Threading.Tasks.Task
ReadLast ( ) : BlobIndex
Release ( ) : System.Threading.Tasks.Task

비공개 메소드들

메소드 설명
GetLease ( bool shouldexist = false ) : Task

메소드 상세

AppendWrite() 공개 메소드

public AppendWrite ( FileRecord record, string filename ) : System.Threading.Tasks.Task
record TastyDomainDriven.File.FileRecord
filename string
리턴 System.Threading.Tasks.Task

AppendWriteNoLease() 공개 메소드

public AppendWriteNoLease ( FileRecord record, string filename ) : System.Threading.Tasks.Task
record TastyDomainDriven.File.FileRecord
filename string
리턴 System.Threading.Tasks.Task

CreateIfNotExist() 공개 메소드

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

EnsureLease() 공개 메소드

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

FileIndexLock() 공개 메소드

FileIndex for keeping order of events...
public FileIndexLock ( Microsoft.WindowsAzure.Storage.CloudStorageAccount storage, string container, string filename, System.TimeSpan leaseTime = null ) : System
storage Microsoft.WindowsAzure.Storage.CloudStorageAccount Connection
container string Azure blob container
filename string
leaseTime System.TimeSpan You can acquire leases for 15s up to 60s or you can acquire a lease for an infinite time period.
리턴 System

GetLeaseAndRead() 공개 메소드

public GetLeaseAndRead ( bool shouldexist = false ) : Task
shouldexist bool
리턴 Task

ReadIndex() 공개 메소드

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

ReadLast() 공개 메소드

public ReadLast ( ) : BlobIndex
리턴 BlobIndex

Release() 공개 메소드

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

프로퍼티 상세

Hashes 공개적으로 프로퍼티

public Dictionary Hashes
리턴 BlobIndex>.Dictionary

OrderedIndex 공개적으로 프로퍼티

public List OrderedIndex
리턴 List