Method | Description | |
---|---|---|
Create ( string accountConnectionString, System.TimeSpan leaseTimeout, string hostId, string instanceId, Microsoft.Azure.WebJobs.Host.TraceWriter traceWriter ) : |
||
CreateAsync ( string accountConnectionString, System.TimeSpan leaseTimeout, string hostId, string instanceId, Microsoft.Azure.WebJobs.Host.TraceWriter traceWriter ) : Task |
||
Dispose ( ) : void |
Method | Description | |
---|---|---|
AcquireOrRenewLeaseAsync ( ) : Task | ||
BlobLeaseManager ( ICloudBlob lockBlob, System.TimeSpan leaseTimeout, string hostId, string instanceId, Microsoft.Azure.WebJobs.Host.TraceWriter traceWriter, System.TimeSpan renewalInterval = null ) : System | ||
Dispose ( bool disposing ) : void | ||
GetBlobName ( string hostId ) : string | ||
GetLockBlobAsync ( Microsoft.WindowsAzure.Storage.Blob.CloudBlobClient client, string blobName ) : Task |
||
GetLockBlobAsync ( string accountConnectionString, string blobName ) : Task |
||
OnHasLeaseChanged ( ) : void | ||
ProcessLeaseError ( string reason ) : void | ||
ProcessLeaseTimerTick ( object state ) : void | ||
ResetLease ( ) : void | ||
SetTimerInterval ( System.TimeSpan interval, System.TimeSpan dueTimeout = null ) : void | ||
TryReleaseLeaseIfOwned ( ) : void |
public static Create ( string accountConnectionString, System.TimeSpan leaseTimeout, string hostId, string instanceId, Microsoft.Azure.WebJobs.Host.TraceWriter traceWriter ) : |
||
accountConnectionString | string | |
leaseTimeout | System.TimeSpan | |
hostId | string | |
instanceId | string | |
traceWriter | Microsoft.Azure.WebJobs.Host.TraceWriter | |
return |
public static CreateAsync ( string accountConnectionString, System.TimeSpan leaseTimeout, string hostId, string instanceId, Microsoft.Azure.WebJobs.Host.TraceWriter traceWriter ) : Task |
||
accountConnectionString | string | |
leaseTimeout | System.TimeSpan | |
hostId | string | |
instanceId | string | |
traceWriter | Microsoft.Azure.WebJobs.Host.TraceWriter | |
return | Task |