C# Class Lucene.Net.Store.Azure.AzureLock

Implements lock semantics on AzureDirectory via a blob lease
Inheritance: Lock
Afficher le fichier Open project: azure-contrib/AzureDirectory Class Usage Examples

Méthodes publiques

Méthode Description
AzureLock ( string lockFile, AzureDirectory directory ) : System
BreakLock ( ) : void
IsLocked ( ) : bool
Obtain ( ) : bool
Release ( ) : void
Renew ( ) : void
ToString ( ) : System.String

Private Methods

Méthode Description
_handleWebException ( ICloudBlob blob, Microsoft.WindowsAzure.StorageClient.StorageException err ) : bool

Method Details

AzureLock() public méthode

public AzureLock ( string lockFile, AzureDirectory directory ) : System
lockFile string
directory AzureDirectory
Résultat System

BreakLock() public méthode

public BreakLock ( ) : void
Résultat void

IsLocked() public méthode

public IsLocked ( ) : bool
Résultat bool

Obtain() public méthode

public Obtain ( ) : bool
Résultat bool

Release() public méthode

public Release ( ) : void
Résultat void

Renew() public méthode

public Renew ( ) : void
Résultat void

ToString() public méthode

public ToString ( ) : System.String
Résultat System.String