C# Class Brnkly.Raven.DocumentStoreFactory

Show file Open project: brnkly/brnkly Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
GetOrCreate ( string name, AccessMode accessMode = AccessMode.ReadOnly, Action initializer = null ) : IDocumentStore

Private Methods

Method Description
ApplyRavenConfig ( bool fromTimer = false ) : void
CreateDocumentStore ( Brnkly.Raven.Instance storeInstance, AccessMode accessMode ) : DocumentStore
Dispose ( bool disposing ) : void
DocumentStoreFactory ( ) : System
EnsureUriPathIncludesDatabase ( Uri uri ) : void
GetClosestInstanceOrDefault ( Brnkly.Raven.DocumentStoreWrapper wrapper ) : Brnkly.Raven.Instance
Initialize ( ) : DocumentStoreFactory
LoadRavenConfig ( ) : void
LogException ( Exception exception, Brnkly.Raven.DocumentStoreWrapper wrapper, DocumentStore newInnerStore ) : void
ReadOnlyOpsStore_ConnectionStatusCahnged ( object sender, EventArgs e ) : void
ReadOnlyOpsStore_FailoverStatusChanged ( object sender, FailoverStatusChangedEventArgs e ) : void
UpdateInnerStore ( Brnkly.Raven.DocumentStoreWrapper wrapper, Action innerStoreInitializer ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

GetOrCreate() public method

public GetOrCreate ( string name, AccessMode accessMode = AccessMode.ReadOnly, Action initializer = null ) : IDocumentStore
name string
accessMode AccessMode
initializer Action
return IDocumentStore