C# Class RavenFS.Infrastructure.StorageOperationsTask

Mostra file Open project: hibernating-rhinos/RavenFS Class Usage Examples

Public Methods

Method Description
CleanupDeletedFilesAsync ( ) : System.Threading.Tasks.Task
IndicateFileToDelete ( string fileName ) : void
RenameFile ( RenameFileOperation operation ) : void
ResumeFileRenamingAsync ( ) : System.Threading.Tasks.Task
StorageOperationsTask ( TransactionalStorage storage, IndexStorage search, INotificationPublisher notificationPublisher ) : System

Private Methods

Method Description
InitializeTimer ( ) : void
IsDeleteInProgress ( string deletingFileName ) : bool
IsRenameInProgress ( string fileName ) : bool
IsSynchronizationInProgress ( string originalFileName ) : bool
IsUploadInProgress ( string originalFileName ) : bool
SynchronizedFileName ( string originalFileName ) : string

Method Details

CleanupDeletedFilesAsync() public method

public CleanupDeletedFilesAsync ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

IndicateFileToDelete() public method

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

RenameFile() public method

public RenameFile ( RenameFileOperation operation ) : void
operation RavenFS.Storage.RenameFileOperation
return void

ResumeFileRenamingAsync() public method

public ResumeFileRenamingAsync ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

StorageOperationsTask() public method

public StorageOperationsTask ( TransactionalStorage storage, IndexStorage search, INotificationPublisher notificationPublisher ) : System
storage RavenFS.Storage.TransactionalStorage
search RavenFS.Search.IndexStorage
notificationPublisher INotificationPublisher
return System