C# 클래스 Etg.Yams.Azure.Lease.SelfRenewableBlobLease

A lease that doesn't expire. TODO: Investigate if an alternative exists in Azure and get rid of this class if possible.
상속: IBlobLease
파일 보기 프로젝트 열기: Microsoft/Yams

Private Properties

프로퍼티 타입 설명
DisableTimer System.Threading.Tasks.Task
GetKey string
RenewLease System.Threading.Tasks.Task

공개 메소드들

메소드 설명
Dispose ( ) : void
ReleaseLease ( ) : System.Threading.Tasks.Task
SelfRenewableBlobLease ( ICloudBlob blob ) : System
TryAcquireLease ( ) : Task

비공개 메소드들

메소드 설명
DisableTimer ( ) : System.Threading.Tasks.Task
GetKey ( ICloudBlob blob ) : string
RenewLease ( ICloudBlob blob, string leaseId ) : System.Threading.Tasks.Task

메소드 상세

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

ReleaseLease() 공개 메소드

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

SelfRenewableBlobLease() 공개 메소드

public SelfRenewableBlobLease ( ICloudBlob blob ) : System
blob ICloudBlob
리턴 System

TryAcquireLease() 공개 메소드

public TryAcquireLease ( ) : Task
리턴 Task