public class MonitSshDriver extends AbstractSoftwareProcessSshDriver implements MonitDriver
CHECK_RUNNING, CUSTOMIZING, DEBUG, IGNORE_ENTITY_SSH_FLAGS, INSTALL_INCOMPLETE, INSTALLING, KILLING, LAUNCHING, log, logSsh, NON_STANDARD_LAYOUT, PID_FILENAME, PROCESS_OWNER, resolver, RESTARTING, STOPPING, USE_PID_FILE, VALID_FLAGSentity, location, resource| Constructor and Description |
|---|
MonitSshDriver(MonitNodeImpl entity,
SshMachineLocation machine) |
| Modifier and Type | Method and Description |
|---|---|
void |
customize() |
String |
getMonitLogFile() |
protected String |
getMonitPidFile() |
String |
getOsTag() |
String |
getStatusCmd() |
void |
install() |
boolean |
isRunning() |
void |
launch() |
void |
stop() |
checkNoHostnameBug, copyCustomizeResources, copyInstallResources, copyPreInstallResources, copyResource, copyResource, createDirectory, execute, execute, execute, getAddress, getExpandedInstallDir, getHostname, getInstallDir, getInstallLabelExtraSalt, getLocation, getMachine, getPortsUsed, getRunDir, getShellEnvironment, getSshFlags, getSubnetAddress, getSubnetHostname, newScript, newScript, prepare, runPostCustomizeCommand, runPostInstallCommand, runPostLaunchCommand, runPreCustomizeCommand, runPreInstallCommand, runPreLaunchCommand, setExpandedInstallDir, setInstallDir, setInstallLabel, setRunDir, setupcopyResource, copyResource, copyResource, copyResource, copyResource, copyResource, copyResource, copyResources, copyRuntimeResources, copyTemplate, copyTemplate, copyTemplate, doFullStartOnRestart, getArchiveNameFormat, getEntity, getResource, getResourceAsString, getVersion, kill, postLaunch, preInstall, processTemplate, processTemplate, processTemplate, processTemplate, processTemplateContents, processTemplateContents, rebind, restart, startclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetExpandedInstallDirgetEntity, kill, rebind, restart, startgetLocationpublic MonitSshDriver(MonitNodeImpl entity, SshMachineLocation machine)
public void install()
install in class AbstractSoftwareProcessDriverpublic void customize()
customize in class AbstractSoftwareProcessDriverpublic void launch()
launch in class AbstractSoftwareProcessDriverpublic boolean isRunning()
isRunning in interface SoftwareProcessDriverpublic void stop()
stop in interface SoftwareProcessDriverstop in class AbstractSoftwareProcessDriverprotected String getMonitPidFile()
public String getMonitLogFile()
public String getOsTag()
public String getStatusCmd()
getStatusCmd in interface MonitDriverCopyright © 2012–2018 The Apache Software Foundation. All rights reserved.