public class MongoServerDefaultHostConfiguration extends Object implements IMongoServerHostConfiguration
| Modifier and Type | Field and Description |
|---|---|
static String |
NIX_DEFAULT_MONGO_HOME |
static String |
WIN_DEFAULT_MONGO_HOME |
| Constructor and Description |
|---|
MongoServerDefaultHostConfiguration()
constructor using default value
|
MongoServerDefaultHostConfiguration(String mongoHome,
boolean forceMongoHome)
constructor using custom mongo home directory
|
public static final String WIN_DEFAULT_MONGO_HOME
public static final String NIX_DEFAULT_MONGO_HOME
public MongoServerDefaultHostConfiguration()
public MongoServerDefaultHostConfiguration(String mongoHome, boolean forceMongoHome)
mongoHome - custom mongo home directoryforceMongoHome - : set to true when installing mongodb from tarball on Unix/Linux systemspublic String getMongoDumpBinAbsolutePath()
getMongoDumpBinAbsolutePath in interface IMongoServerHostConfigurationpublic String getMongoRestoreBinAbsolutePath()
getMongoRestoreBinAbsolutePath in interface IMongoServerHostConfigurationCopyright © 2016. All rights reserved.