C# 클래스 RavenFS.Synchronization.SynchronizationWorkItem

파일 보기 프로젝트 열기: hibernating-rhinos/RavenFS 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
Cts System.Threading.CancellationTokenSource

공개 메소드들

메소드 설명
Cancel ( ) : void
PerformAsync ( string destination ) : Task
RefreshMetadata ( ) : void

보호된 메소드들

메소드 설명
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

메소드 상세

ApplyConflictOnDestinationAsync() 보호된 메소드

protected ApplyConflictOnDestinationAsync ( ConflictItem conflict, string destination, string localServerUrl, Logger log ) : Task
conflict RavenFS.Client.ConflictItem
destination string
localServerUrl string
log Logger
리턴 Task

AssertLocalFileExistsAndIsNotConflicted() 보호된 메소드

protected AssertLocalFileExistsAndIsNotConflicted ( NameValueCollection sourceMetadata ) : void
sourceMetadata System.Collections.Specialized.NameValueCollection
리턴 void

Cancel() 공개 메소드

public Cancel ( ) : void
리턴 void

CheckConflictWithDestination() 보호된 메소드

protected CheckConflictWithDestination ( NameValueCollection sourceMetadata, NameValueCollection destinationMetadata, string localServerUrl ) : ConflictItem
sourceMetadata System.Collections.Specialized.NameValueCollection
destinationMetadata System.Collections.Specialized.NameValueCollection
localServerUrl string
리턴 RavenFS.Client.ConflictItem

PerformAsync() 공개 추상적인 메소드

public abstract PerformAsync ( string destination ) : Task
destination string
리턴 Task

RefreshMetadata() 공개 메소드

public RefreshMetadata ( ) : void
리턴 void

SynchronizationWorkItem() 보호된 메소드

protected SynchronizationWorkItem ( string fileName, string sourceServerUrl, TransactionalStorage storage ) : System
fileName string
sourceServerUrl string
storage RavenFS.Storage.TransactionalStorage
리턴 System

프로퍼티 상세

Cts 보호되어 있는 프로퍼티

protected CancellationTokenSource,System.Threading Cts
리턴 System.Threading.CancellationTokenSource