C# Class RavenFS.Synchronization.SynchronizationQueue

Exibir arquivo Open project: hibernating-rhinos/RavenFS Class Usage Examples

Public Methods

Method 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 method

public CancelActiveSynchronizations ( string fileName ) : void
fileName string
return void

EnqueueSynchronization() public method

public EnqueueSynchronization ( string destination, SynchronizationWorkItem workItem ) : void
destination string
workItem SynchronizationWorkItem
return void

GetTotalActiveTasks() public method

public GetTotalActiveTasks ( ) : int
return int

GetTotalPendingTasks() public method

public GetTotalPendingTasks ( ) : int
return int

IsDifferentWorkForTheSameFileBeingPerformed() public method

public IsDifferentWorkForTheSameFileBeingPerformed ( SynchronizationWorkItem work, string destination ) : bool
work SynchronizationWorkItem
destination string
return bool

NumberOfActiveSynchronizationTasksFor() public method

public NumberOfActiveSynchronizationTasksFor ( string destination ) : int
destination string
return int

SynchronizationFinished() public method

public SynchronizationFinished ( SynchronizationWorkItem work, string destination ) : void
work SynchronizationWorkItem
destination string
return void

SynchronizationStarted() public method

public SynchronizationStarted ( SynchronizationWorkItem work, string destination ) : void
work SynchronizationWorkItem
destination string
return void

TryDequePendingSynchronization() public method

public TryDequePendingSynchronization ( string destination, SynchronizationWorkItem &workItem ) : bool
destination string
workItem SynchronizationWorkItem
return bool