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.
|
getDataDirectory, getOsDir, getOsTag, install, preInstall
checkNoHostnameBug, copyInstallResources, copyResource, copyResource, execute, execute, execute, getAddress, getExpandedInstallDir, getHostname, getInstallDir, getLocation, getMachine, getPortsUsed, getRunDir, getShellEnvironment, getSubnetAddress, getSubnetHostname, runPostInstallCommand, runPostLaunchCommand, runPreInstallCommand, runPreLaunchCommand, setExpandedInstallDir, setup
copyPreInstallResources, copyResource, copyResource, copyResource, copyResource, copyResource, copyResource, copyResource, copyRuntimeResources, copyTemplate, copyTemplate, copyTemplate, getEntity, getResource, getResourceAsString, getVersion, kill, postLaunch, processTemplate, processTemplate, processTemplate, processTemplate, processTemplateContents, processTemplateContents, rebind, restart, start
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEntity, kill, rebind, restart, start
getLocation
public MongoDBClientSshDriver(EntityLocal entity, SshMachineLocation machine)
public void customize()
customize
in class AbstractMongoDBSshDriver
public void launch()
launch
in class AbstractSoftwareProcessDriver
public boolean isRunning()
SoftwareProcessDriver
isRunning
in interface SoftwareProcessDriver
isRunning
in class AbstractMongoDBSshDriver
public void stop()
AbstractMongoDBSshDriver
stop
in interface SoftwareProcessDriver
stop
in class AbstractMongoDBSshDriver
public void runScript(java.lang.String preStart, java.lang.String scriptName)
runScript
in interface MongoDBClientDriver