C# Class RavenFS.Synchronization.SynchronizationWorkItem

Afficher le fichier Open project: hibernating-rhinos/RavenFS Class Usage Examples

Protected Properties

Свойство Type Description
Cts System.Threading.CancellationTokenSource

Méthodes publiques

Méthode Description
Cancel ( ) : void
PerformAsync ( string destination ) : Task
RefreshMetadata ( ) : void

Méthodes protégées

Méthode Description
ApplyConflictOnDestinationAsync ( ConflictItem conflict, string destination, string localServerUrl, Logger log ) : Task
AssertLocalFileExistsAndIsNotConflicted ( NameValueCollection sourceMetadata ) : void
CheckConflictWithDestination ( NameValueCollection sourceMetadata, NameValueCollection destinationMetadata, string localServerUrl ) : ConflictItem
SynchronizationWorkItem ( string fileName, string sourceServerUrl, TransactionalStorage storage ) : System

Method Details

ApplyConflictOnDestinationAsync() protected méthode

protected ApplyConflictOnDestinationAsync ( ConflictItem conflict, string destination, string localServerUrl, Logger log ) : Task
conflict RavenFS.Client.ConflictItem
destination string
localServerUrl string
log Logger
Résultat Task

AssertLocalFileExistsAndIsNotConflicted() protected méthode

protected AssertLocalFileExistsAndIsNotConflicted ( NameValueCollection sourceMetadata ) : void
sourceMetadata System.Collections.Specialized.NameValueCollection
Résultat void

Cancel() public méthode

public Cancel ( ) : void
Résultat void

CheckConflictWithDestination() protected méthode

protected CheckConflictWithDestination ( NameValueCollection sourceMetadata, NameValueCollection destinationMetadata, string localServerUrl ) : ConflictItem
sourceMetadata System.Collections.Specialized.NameValueCollection
destinationMetadata System.Collections.Specialized.NameValueCollection
localServerUrl string
Résultat RavenFS.Client.ConflictItem

PerformAsync() public abstract méthode

public abstract PerformAsync ( string destination ) : Task
destination string
Résultat Task

RefreshMetadata() public méthode

public RefreshMetadata ( ) : void
Résultat void

SynchronizationWorkItem() protected méthode

protected SynchronizationWorkItem ( string fileName, string sourceServerUrl, TransactionalStorage storage ) : System
fileName string
sourceServerUrl string
storage RavenFS.Storage.TransactionalStorage
Résultat System

Property Details

Cts protected_oe property

protected CancellationTokenSource,System.Threading Cts
Résultat System.Threading.CancellationTokenSource