C# Class smarx.WazStorageExtensions.LeaseBlobExtensions

Exibir arquivo Open project: bluedot/WazStorageExtensions

Public Methods

Method Description
AcquireLease ( this blob ) : string
BreakLease ( this blob ) : void
ReleaseLease ( this blob, string leaseId ) : void
RenewLease ( this blob, string leaseId ) : void
SetMetadata ( this blob, string leaseId ) : void
TryAcquireLease ( this blob ) : string
TryRenewLease ( this blob, string leaseId ) : bool
UploadText ( this blob, string text, string leaseId ) : void

Private Methods

Method Description
DoLeaseOperation ( CloudBlob blob, string leaseId, LeaseAction action ) : void

Method Details

AcquireLease() public static method

public static AcquireLease ( this blob ) : string
blob this
return string

BreakLease() public static method

public static BreakLease ( this blob ) : void
blob this
return void

ReleaseLease() public static method

public static ReleaseLease ( this blob, string leaseId ) : void
blob this
leaseId string
return void

RenewLease() public static method

public static RenewLease ( this blob, string leaseId ) : void
blob this
leaseId string
return void

SetMetadata() public static method

public static SetMetadata ( this blob, string leaseId ) : void
blob this
leaseId string
return void

TryAcquireLease() public static method

public static TryAcquireLease ( this blob ) : string
blob this
return string

TryRenewLease() public static method

public static TryRenewLease ( this blob, string leaseId ) : bool
blob this
leaseId string
return bool

UploadText() public static method

public static UploadText ( this blob, string text, string leaseId ) : void
blob this
text string
leaseId string
return void