C# Class Raven.Munin.ReadOnlyFileBasedPersistentSource

Simple read only version of the file based data. It is mostly meant for read only access from remote application domain.
Inheritance: AbstractPersistentSource
ファイルを表示 Open project: ravendb/raven.munin

Public Methods

Method Description
CreateRemoteAppDomainState ( ) : RemoteManagedStorageState
CreateTemporaryStream ( ) : Stream
Dispose ( ) : void
EnsureCapacity ( int value ) : void
FlushLog ( ) : void
ReadOnlyFileBasedPersistentSource ( string basePath, string prefix ) : System
ReplaceAtomically ( Stream newNewLog ) : void

Protected Methods

Method Description
CreateClonedStreamForReadOnlyPurposes ( ) : Stream

Private Methods

Method Description
OpenFiles ( ) : void

Method Details

CreateClonedStreamForReadOnlyPurposes() protected method

protected CreateClonedStreamForReadOnlyPurposes ( ) : Stream
return Stream

CreateRemoteAppDomainState() public method

public CreateRemoteAppDomainState ( ) : RemoteManagedStorageState
return RemoteManagedStorageState

CreateTemporaryStream() public method

public CreateTemporaryStream ( ) : Stream
return Stream

Dispose() public method

public Dispose ( ) : void
return void

EnsureCapacity() public method

public EnsureCapacity ( int value ) : void
value int
return void

FlushLog() public method

public FlushLog ( ) : void
return void

ReadOnlyFileBasedPersistentSource() public method

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

ReplaceAtomically() public method

public ReplaceAtomically ( Stream newNewLog ) : void
newNewLog Stream
return void