C# Class RavenFS.Storage.StorageConfigurator

Mostra file Open project: hibernating-rhinos/RavenFS

Public Methods

Method Description
ConfigureInstance ( JET_INSTANCE jetInstance, string path ) : void
LimitSystemCache ( ) : void
StorageConfigurator ( NameValueCollection settings ) : System

Private Methods

Method Description
GetValueFromConfiguration ( string name, bool defaultValue ) : bool
GetValueFromConfiguration ( string name, int defaultValue ) : int
TranslateToSizeInDatabasePages ( int sizeInMegabytes ) : int

Method Details

ConfigureInstance() public method

public ConfigureInstance ( JET_INSTANCE jetInstance, string path ) : void
jetInstance JET_INSTANCE
path string
return void

LimitSystemCache() public method

public LimitSystemCache ( ) : void
return void

StorageConfigurator() public method

public StorageConfigurator ( NameValueCollection settings ) : System
settings System.Collections.Specialized.NameValueCollection
return System