C# Class 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.
Inheritance: IBlobLease
Afficher le fichier Open project: Microsoft/Yams

Private Properties

Свойство Type Description
DisableTimer System.Threading.Tasks.Task
GetKey string
RenewLease System.Threading.Tasks.Task

Méthodes publiques

Méthode Description
Dispose ( ) : void
ReleaseLease ( ) : System.Threading.Tasks.Task
SelfRenewableBlobLease ( ICloudBlob blob ) : System
TryAcquireLease ( ) : Task

Private Methods

Méthode Description
DisableTimer ( ) : System.Threading.Tasks.Task
GetKey ( ICloudBlob blob ) : string
RenewLease ( ICloudBlob blob, string leaseId ) : System.Threading.Tasks.Task

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

ReleaseLease() public méthode

public ReleaseLease ( ) : System.Threading.Tasks.Task
Résultat System.Threading.Tasks.Task

SelfRenewableBlobLease() public méthode

public SelfRenewableBlobLease ( ICloudBlob blob ) : System
blob ICloudBlob
Résultat System

TryAcquireLease() public méthode

public TryAcquireLease ( ) : Task
Résultat Task