C# Class SmartSync.AtomicFileCounter

Inheritance: IDisposable
Afficher le fichier Open project: projectkudu/KuduCalf Class Usage Examples

Private Properties

Свойство Type Description
ThrowIfUnexpected void

Méthodes publiques

Méthode Description
AtomicFileCounter ( string counterFilePath ) : System
Dispose ( ) : void
GetCurrent ( ) : long
IncrementWithAction ( long expectedCount, System.Action act ) : bool
Init ( ) : bool

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Private Methods

Méthode Description
ThrowIfUnexpected ( Exception ex ) : void

Method Details

AtomicFileCounter() public méthode

public AtomicFileCounter ( string counterFilePath ) : System
counterFilePath string
Résultat System

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

GetCurrent() public méthode

public GetCurrent ( ) : long
Résultat long

IncrementWithAction() public méthode

public IncrementWithAction ( long expectedCount, System.Action act ) : bool
expectedCount long
act System.Action
Résultat bool

Init() public méthode

public Init ( ) : bool
Résultat bool