C# Class Tomboy.Sync.SyncLockInfo

Mostra file Open project: oluc/tomboy Class Usage Examples

Public Properties

Property Type Description
ClientId string
Duration System.TimeSpan
RenewCount int
Revision int
TransactionId string

Public Methods

Method Description
SyncLockInfo ( ) : System

Method Details

SyncLockInfo() public method

public SyncLockInfo ( ) : System
return 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
return 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
return 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
return 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
return int

TransactionId public_oe property

Unique ID for the sync transaction associated with the lock.
public string TransactionId
return string