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() |
boolean |
isRunning()
Whether the entity components have started.
|
void |
launch() |
void |
runScript(java.lang.String preStart,
java.lang.String scriptName) |
void |
stop()
Kills the server with SIGINT.
|
getArchiveNameFormat, getDataDirectory, getOsDir, getOsTag, installcheckNoHostnameBug, copyInstallResources, copyResource, copyResource, execute, execute, execute, getAddress, getExpandedInstallDir, getHostname, getInstallDir, getLocation, getMachine, getPortsUsed, getRunDir, getShellEnvironment, getSubnetAddress, getSubnetHostname, prepare, runPostCustomizeCommand, runPostInstallCommand, runPostLaunchCommand, runPreCustomizeCommand, runPreInstallCommand, runPreLaunchCommand, setExpandedInstallDir, setupcopyPreInstallResources, copyResource, copyResource, copyResource, copyResource, copyResource, copyResource, copyResource, copyRuntimeResources, copyTemplate, copyTemplate, copyTemplate, getEntity, getResource, getResourceAsString, getVersion, kill, postLaunch, preInstall, processTemplate, processTemplate, processTemplate, processTemplate, processTemplateContents, processTemplateContents, rebind, restart, startequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetEntity, kill, rebind, restart, startgetLocationpublic MongoDBClientSshDriver(EntityLocal entity, SshMachineLocation machine)
public void customize()
customize in class AbstractMongoDBSshDriverpublic void launch()
launch 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