C# Class MongoDB.MongoWorkerRole.MongoWorkerRole

Inheritance: RoleEntryPoint
Datei anzeigen Open project: sridharn/Mongo-Azure

Public Methods

Method Description
OnStart ( ) : bool
OnStop ( ) : void
Run ( ) : void
ShutdownMongo ( ) : void

Private Methods

Method Description
AddPerfCounter ( DiagnosticMonitorConfiguration config, string name, double seconds ) : void
AddPerfCounters ( DiagnosticMonitorConfiguration diagObj ) : void
GetLogFile ( ) : string
GetMongoDataDirectory ( ) : string
GetMountedPathFromBlob ( string localCachePath, string cloudDir, string containerName, string blobName, int driveSize, bool waitOnMount, bool fallback, CloudDrive &mongoDrive ) : string
InitializeDiagnostics ( ) : void
LogNodeInfo ( ) : void
ParseNodeInstanceId ( ) : int
SetHostAndPort ( ) : void
ShutdownDiagnostics ( ) : void
StartMongoD ( ) : void
StoreNodeInfo ( ) : void
TraceError ( string message ) : void
TraceInformation ( string message ) : void
TraceWarning ( string message ) : void
WriteTraceMessage ( string message, string type ) : void

Method Details

OnStart() public method

public OnStart ( ) : bool
return bool

OnStop() public method

public OnStop ( ) : void
return void

Run() public method

public Run ( ) : void
return void

ShutdownMongo() public static method

public static ShutdownMongo ( ) : void
return void