C# Class Tomboy.Sync.SyncLockInfo

Afficher le fichier Open project: oluc/tomboy Class Usage Examples

Méthodes publiques

Свойство Type Description
ClientId string
Duration System.TimeSpan
RenewCount int
Revision int
TransactionId string

Méthodes publiques

Méthode Description
SyncLockInfo ( ) : System

Method Details

SyncLockInfo() public méthode

public SyncLockInfo ( ) : System
Résultat System

Property Details

ClientId public_oe property

A string to identify which client currently has the lock open. Not guaranteed to be unique.
public string ClientId
Résultat string

Duration public_oe property

A TimeSpan to indicate how long the current synchronization will take. If the current synchronization will take longer than this, the client synchronizing should update the lock file to indicate this.
public TimeSpan,System Duration
Résultat System.TimeSpan

RenewCount public_oe property

Indicates how many times the client has renewed the lock. Subsequent clients should watch this (along with the LockOwner) to determine whether the currently synchronizing client has becomeeither inactive. Clients currently synchronizing should update the lock file before the duration expires to prevent other clients from overtaking the lock.
public int RenewCount
Résultat int

Revision public_oe property

Specifies the current revision that this lock is for. The client that lays the lock file down should specify which revision they're creating. Clients needing to perform cleanup may want to know which revision files to clean up by reading the value of this.
public int Revision
Résultat int

TransactionId public_oe property

Unique ID for the sync transaction associated with the lock.
public string TransactionId
Résultat string