C# Class RavenFS.Synchronization.Rdc.Wrapper.StorageSignatureRepository

Inheritance: ISignatureRepository
Show file Open project: hibernating-rhinos/RavenFS Class Usage Examples

Public Methods

Method Description
CreateContent ( string sigName ) : Stream
Dispose ( ) : void
Flush ( IEnumerable signatureInfos ) : void
GetByFileName ( ) : IEnumerable
GetByName ( string sigName ) : SignatureInfo
GetContentForReading ( string sigName ) : Stream
GetLastUpdate ( ) : DateTime?
StorageSignatureRepository ( TransactionalStorage storage, string fileName ) : System

Private Methods

Method Description
CloseCreatedStreams ( ) : void
ExtractFileNameAndLevel ( string sigName ) : SignatureInfo
GetSignatureLevel ( string sigName, StorageActionsAccessor accessor ) : SignatureLevels
NameToPath ( string name ) : string

Method Details

CreateContent() public method

public CreateContent ( string sigName ) : Stream
sigName string
return Stream

Dispose() public method

public Dispose ( ) : void
return void

Flush() public method

public Flush ( IEnumerable signatureInfos ) : void
signatureInfos IEnumerable
return void

GetByFileName() public method

public GetByFileName ( ) : IEnumerable
return IEnumerable

GetByName() public method

public GetByName ( string sigName ) : SignatureInfo
sigName string
return SignatureInfo

GetContentForReading() public method

public GetContentForReading ( string sigName ) : Stream
sigName string
return Stream

GetLastUpdate() public method

public GetLastUpdate ( ) : DateTime?
return DateTime?

StorageSignatureRepository() public method

public StorageSignatureRepository ( TransactionalStorage storage, string fileName ) : System
storage RavenFS.Storage.TransactionalStorage
fileName string
return System