public class MongoDBClientSshDriver extends AbstractMongoDBSshDriver implements MongoDBClientDriver
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 |
|---|
MongoDBClientSshDriver(EntityLocal entity,
SshMachineLocation machine) |
| Modifier and Type | Method and Description |
|---|---|
void |
customize()
Implementations should fail if the return code is non-zero, by throwing some appropriate exception.
|
boolean |
isRunning()
Whether the entity components have started.
|
void |
launch()
Implementations should fail if the return code is non-zero, by throwing some appropriate exception.
|
void |
runScript(java.lang.String preStart,
java.lang.String scriptName) |
void |
stop()
Kills the server with SIGINT.
|
getArchiveNameFormat, getDataDirectory, getOsDir, getOsTag, installcheckNoHostnameBug, copyCustomizeResources, copyInstallResources, copyPreInstallResources, copyResource, copyResource, execute, execute, execute, getAddress, getHostname, getLocation, getMachine, getPortsUsed, getSubnetAddress, getSubnetHostname, prepare, runPostCustomizeCommand, runPostInstallCommand, runPostLaunchCommand, runPreCustomizeCommand, runPreInstallCommand, runPreLaunchCommand, setupcopyResource, copyResource, copyResource, copyResource, copyResource, copyResource, copyResource, copyRuntimeResources, copyTemplate, copyTemplate, copyTemplate, getEntity, getExpandedInstallDir, getInstallDir, getResource, getResourceAsString, getRunDir, getShellEnvironment, getVersion, kill, postLaunch, preInstall, processTemplate, processTemplate, processTemplate, processTemplate, processTemplateContents, processTemplateContents, rebind, restart, setExpandedInstallDir, startequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetEntity, kill, rebind, restart, startgetLocationpublic MongoDBClientSshDriver(EntityLocal entity, SshMachineLocation machine)
public void customize()
AbstractSoftwareProcessDrivercustomize in class AbstractMongoDBSshDriverpublic void launch()
AbstractSoftwareProcessDriverlaunch in class AbstractSoftwareProcessDriverpublic boolean isRunning()
SoftwareProcessDriverisRunning in interface SoftwareProcessDriverisRunning in class AbstractMongoDBSshDriverpublic void stop()
AbstractMongoDBSshDriverstop in interface SoftwareProcessDriverstop in class AbstractMongoDBSshDriverpublic void runScript(java.lang.String preStart,
java.lang.String scriptName)
runScript in interface MongoDBClientDriver