C# Class Raven.ManagedStorage.Degenerate.FileBasedPersistentSource

Inheritance: IPersistentSource
Show file Open project: ayende/Degenerated.Storage Class Usage Examples

Public Methods

Method Description
CreateTemporaryStream ( ) : Stream
Delete ( ) : void
Dispose ( ) : void
FileBasedPersistentSource ( string basePath, string prefix ) : System
FlushData ( ) : void
FlushLog ( ) : void
ReplaceAtomically ( Stream newData, Stream newLog ) : void

Private Methods

Method Description
RecoverFromFailedRename ( string file ) : void

Method Details

CreateTemporaryStream() public method

public CreateTemporaryStream ( ) : Stream
return Stream

Delete() public method

public Delete ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

FileBasedPersistentSource() public method

public FileBasedPersistentSource ( string basePath, string prefix ) : System
basePath string
prefix string
return System

FlushData() public method

public FlushData ( ) : void
return void

FlushLog() public method

public FlushLog ( ) : void
return void

ReplaceAtomically() public method

public ReplaceAtomically ( Stream newData, Stream newLog ) : void
newData Stream
newLog Stream
return void