C# Class RavenFS.Synchronization.SynchronizationQueue

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

Méthodes publiques

Méthode Description
CancelActiveSynchronizations ( string fileName ) : void
EnqueueSynchronization ( string destination, SynchronizationWorkItem workItem ) : void
GetTotalActiveTasks ( ) : int
GetTotalPendingTasks ( ) : int
IsDifferentWorkForTheSameFileBeingPerformed ( SynchronizationWorkItem work, string destination ) : bool
NumberOfActiveSynchronizationTasksFor ( string destination ) : int
SynchronizationFinished ( SynchronizationWorkItem work, string destination ) : void
SynchronizationStarted ( SynchronizationWorkItem work, string destination ) : void
TryDequePendingSynchronization ( string destination, SynchronizationWorkItem &workItem ) : bool

Method Details

CancelActiveSynchronizations() public méthode

public CancelActiveSynchronizations ( string fileName ) : void
fileName string
Résultat void

EnqueueSynchronization() public méthode

public EnqueueSynchronization ( string destination, SynchronizationWorkItem workItem ) : void
destination string
workItem SynchronizationWorkItem
Résultat void

GetTotalActiveTasks() public méthode

public GetTotalActiveTasks ( ) : int
Résultat int

GetTotalPendingTasks() public méthode

public GetTotalPendingTasks ( ) : int
Résultat int

IsDifferentWorkForTheSameFileBeingPerformed() public méthode

public IsDifferentWorkForTheSameFileBeingPerformed ( SynchronizationWorkItem work, string destination ) : bool
work SynchronizationWorkItem
destination string
Résultat bool

NumberOfActiveSynchronizationTasksFor() public méthode

public NumberOfActiveSynchronizationTasksFor ( string destination ) : int
destination string
Résultat int

SynchronizationFinished() public méthode

public SynchronizationFinished ( SynchronizationWorkItem work, string destination ) : void
work SynchronizationWorkItem
destination string
Résultat void

SynchronizationStarted() public méthode

public SynchronizationStarted ( SynchronizationWorkItem work, string destination ) : void
work SynchronizationWorkItem
destination string
Résultat void

TryDequePendingSynchronization() public méthode

public TryDequePendingSynchronization ( string destination, SynchronizationWorkItem &workItem ) : bool
destination string
workItem SynchronizationWorkItem
Résultat bool