C# 클래스 GreenQloud.Repository.RemoteRepositoryController

상속: AbstractController, IRemoteRepositoryController
파일 보기 프로젝트 열기: greenqloud/qloudsync 1 사용 예제들

공개 메소드들

메소드 설명
CreateObjectInstance ( ListEntry s3item ) : RepositoryItem
Delete ( RepositoryItem item ) : void
Download ( RepositoryItem item, bool recursive = false ) : void
Exists ( RepositoryItem item ) : bool
Exists ( string key ) : bool
GetContentLength ( string key ) : long
GetItems ( string prefix ) : List
GetMetadata ( string key, bool recoveryIfFolderBroken = false ) : GetObjectResponse
GetRootFoldersS3Objects ( ) : IEnumerable
Move ( RepositoryItem item ) : void
RemoteETAG ( RepositoryItem item ) : string
RemoteRepositoryController ( LocalRepository repo ) : System
Upload ( RepositoryItem item ) : void

보호된 메소드들

메소드 설명
AddStatistics ( string key, TransferStatistic statistic ) : void
GetInstancesOfItems ( IEnumerable s3items ) : List
UpdateStatistics ( string key, S3ProgressEventArgs args ) : void

비공개 메소드들

메소드 설명
DeleteEntry ( ListEntry entry ) : void
DeleteFolder ( string key ) : void
DownloadEntry ( IEnumerable entries, RepositoryItem father ) : void
GenericCopy ( string sourceKey, string destinationKey ) : void
GenericCreateFolder ( string key ) : void
GenericDelete ( string key, bool keyAsPrefix = false ) : void
GenericDownload ( string key, string localAbsolutePath ) : void
GenericUpload ( string key, string filepath ) : void
GetS3Objects ( string prefix ) : IEnumerable
Key ( ListEntry s3item ) : string
MoveEntry ( IEnumerable entries, RepositoryItem father ) : void
UploadEntry ( IEnumerable entries, RepositoryItem father ) : void

메소드 상세

AddStatistics() 보호된 메소드

protected AddStatistics ( string key, TransferStatistic statistic ) : void
key string
statistic TransferStatistic
리턴 void

CreateObjectInstance() 공개 메소드

public CreateObjectInstance ( ListEntry s3item ) : RepositoryItem
s3item LitS3.ListEntry
리턴 GreenQloud.Model.RepositoryItem

Delete() 공개 메소드

public Delete ( RepositoryItem item ) : void
item GreenQloud.Model.RepositoryItem
리턴 void

Download() 공개 메소드

public Download ( RepositoryItem item, bool recursive = false ) : void
item GreenQloud.Model.RepositoryItem
recursive bool
리턴 void

Exists() 공개 메소드

public Exists ( RepositoryItem item ) : bool
item GreenQloud.Model.RepositoryItem
리턴 bool

Exists() 공개 메소드

public Exists ( string key ) : bool
key string
리턴 bool

GetContentLength() 공개 메소드

public GetContentLength ( string key ) : long
key string
리턴 long

GetInstancesOfItems() 보호된 메소드

protected GetInstancesOfItems ( IEnumerable s3items ) : List
s3items IEnumerable
리턴 List

GetItems() 공개 메소드

public GetItems ( string prefix ) : List
prefix string
리턴 List

GetMetadata() 공개 메소드

public GetMetadata ( string key, bool recoveryIfFolderBroken = false ) : GetObjectResponse
key string
recoveryIfFolderBroken bool
리턴 GetObjectResponse

GetRootFoldersS3Objects() 공개 메소드

public GetRootFoldersS3Objects ( ) : IEnumerable
리턴 IEnumerable

Move() 공개 메소드

public Move ( RepositoryItem item ) : void
item GreenQloud.Model.RepositoryItem
리턴 void

RemoteETAG() 공개 메소드

public RemoteETAG ( RepositoryItem item ) : string
item GreenQloud.Model.RepositoryItem
리턴 string

RemoteRepositoryController() 공개 메소드

public RemoteRepositoryController ( LocalRepository repo ) : System
repo LocalRepository
리턴 System

UpdateStatistics() 보호된 메소드

protected UpdateStatistics ( string key, S3ProgressEventArgs args ) : void
key string
args LitS3.S3ProgressEventArgs
리턴 void

Upload() 공개 메소드

public Upload ( RepositoryItem item ) : void
item GreenQloud.Model.RepositoryItem
리턴 void