C# Class Sitecore.Foundation.Installer.MongoRestore.MongoRestoreService

Inheritance: IMongoRestoreService
ファイルを表示 Open project: Sitecore/Habitat Class Usage Examples

Public Methods

Method Description
IsRestored ( string connectionName ) : bool
MongoRestoreService ( ) : System
MongoRestoreService ( IMongoPathsProvider mongoFileProvider, IProcessRunner processRunner ) : System
RebuildAnalyticsIndex ( ) : void
RestoreDatabase ( string dumpName ) : void
RestoreDatabases ( ) : void
StartRebuildAnalyticsIndexJob ( ) : Job

Protected Methods

Method Description
GetArgumentsLine ( string host, string databaseName, string dumbPath ) : string

Private Methods

Method Description
MarkAsRestored ( MongoDB.Driver.MongoUrl mongoUrl ) : void

Method Details

GetArgumentsLine() protected method

protected GetArgumentsLine ( string host, string databaseName, string dumbPath ) : string
host string
databaseName string
dumbPath string
return string

IsRestored() public method

public IsRestored ( string connectionName ) : bool
connectionName string
return bool

MongoRestoreService() public method

public MongoRestoreService ( ) : System
return System

MongoRestoreService() public method

public MongoRestoreService ( IMongoPathsProvider mongoFileProvider, IProcessRunner processRunner ) : System
mongoFileProvider IMongoPathsProvider
processRunner IProcessRunner
return System

RebuildAnalyticsIndex() public method

public RebuildAnalyticsIndex ( ) : void
return void

RestoreDatabase() public method

public RestoreDatabase ( string dumpName ) : void
dumpName string
return void

RestoreDatabases() public method

public RestoreDatabases ( ) : void
return void

StartRebuildAnalyticsIndexJob() public method

public StartRebuildAnalyticsIndexJob ( ) : Job
return Job