public class MongoDBConfigServerSshDriver extends AbstractMongoDBSshDriver implements MongoDBDriver
CHECK_RUNNING, CUSTOMIZING, DEBUG, IGNORE_ENTITY_SSH_FLAGS, INSTALL_INCOMPLETE, INSTALLING, KILLING, LAUNCHING, log, logSsh, NON_STANDARD_LAYOUT, PID_FILENAME, PROCESS_OWNER, RESTARTING, STOPPING, USE_PID_FILE, VALID_FLAGS
Constructor and Description |
---|
MongoDBConfigServerSshDriver(MongoDBConfigServerImpl entity,
SshMachineLocation machine) |
Modifier and Type | Method and Description |
---|---|
MongoDBConfigServerImpl |
getEntity()
The entity whose components we are controlling.
|
void |
launch()
Implementations should fail if the return code is non-zero, by throwing some appropriate exception.
|
customize, getArchiveNameFormat, getDataDirectory, getOsDir, getOsTag, install, isRunning, stop
checkNoHostnameBug, copyCustomizeResources, copyInstallResources, copyPreInstallResources, copyResource, copyResource, execute, execute, execute, getAddress, getHostname, getLocation, getMachine, getPortsUsed, getSubnetAddress, getSubnetHostname, prepare, runPostCustomizeCommand, runPostInstallCommand, runPostLaunchCommand, runPreCustomizeCommand, runPreInstallCommand, runPreLaunchCommand, setup
copyResource, copyResource, copyResource, copyResource, copyResource, copyResource, copyResource, copyRuntimeResources, copyTemplate, copyTemplate, copyTemplate, getExpandedInstallDir, getInstallDir, getResource, getResourceAsString, getRunDir, getShellEnvironment, getVersion, kill, postLaunch, preInstall, processTemplate, processTemplate, processTemplate, processTemplate, processTemplateContents, processTemplateContents, rebind, restart, setExpandedInstallDir, start
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isRunning, kill, rebind, restart, start, stop
getLocation
public MongoDBConfigServerSshDriver(MongoDBConfigServerImpl entity, SshMachineLocation machine)
public MongoDBConfigServerImpl getEntity()
SoftwareProcessDriver
getEntity
in interface EntityDriver
getEntity
in interface SoftwareProcessDriver
getEntity
in class AbstractSoftwareProcessDriver
public void launch()
AbstractSoftwareProcessDriver
launch
in class AbstractSoftwareProcessDriver