C# Class YesSql.Storage.LightningDB.LightningDocumentStorageFactory

Inheritance: IDocumentStorageFactory, IDisposable
Show file Open project: sebastienros/yessql Class Usage Examples

Public Methods

Method Description
CreateDocumentStorage ( ISession session, Configuration configuration ) : IDocumentStorage
Dispose ( ) : void
InitializeAsync ( Configuration configuration ) : System.Threading.Tasks.Task
InitializeCollectionAsync ( Configuration configuration, string collectionName ) : System.Threading.Tasks.Task
LightningDocumentStorageFactory ( string rootFolder ) : System
LightningDocumentStorageFactory ( string rootFolder, long mapSize ) : System

Method Details

CreateDocumentStorage() public method

public CreateDocumentStorage ( ISession session, Configuration configuration ) : IDocumentStorage
session ISession
configuration Configuration
return IDocumentStorage

Dispose() public method

public Dispose ( ) : void
return void

InitializeAsync() public method

public InitializeAsync ( Configuration configuration ) : System.Threading.Tasks.Task
configuration Configuration
return System.Threading.Tasks.Task

InitializeCollectionAsync() public method

public InitializeCollectionAsync ( Configuration configuration, string collectionName ) : System.Threading.Tasks.Task
configuration Configuration
collectionName string
return System.Threading.Tasks.Task

LightningDocumentStorageFactory() public method

public LightningDocumentStorageFactory ( string rootFolder ) : System
rootFolder string
return System

LightningDocumentStorageFactory() public method

public LightningDocumentStorageFactory ( string rootFolder, long mapSize ) : System
rootFolder string
mapSize long
return System