| 
 | Brooklyn | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectbrooklyn.entity.basic.AbstractSoftwareProcessDriver
brooklyn.entity.basic.AbstractSoftwareProcessSshDriver
brooklyn.entity.database.postgresql.PostgreSqlSshDriver
public class PostgreSqlSshDriver extends AbstractSoftwareProcessSshDriver
The SSH implementation of the PostgreSqlDriver.
| Field Summary | |
|---|---|
| static Logger | log | 
| Fields inherited from class AbstractSoftwareProcessSshDriver | |
|---|---|
| BROOKLYN_HOME_DIR, CHECK_RUNNING, CUSTOMIZING, DEFAULT_INSTALL_BASEDIR, DEFAULT_RUN_BASEDIR, IGNORE_ENTITY_SSH_FLAGS, INSTALLING, KILLING, LAUNCHING, NO_VERSION_INFO, PID_FILENAME, RESTARTING, STOPPING, USE_PID_FILE, log, logSsh | 
| Fields inherited from class AbstractSoftwareProcessDriver | |
|---|---|
| entity, location, resource | 
| Constructor Summary | |
| PostgreSqlSshDriver(PostgreSqlNodeImpl entity, SshMachineLocation machine) | |
| Method Summary | |
|---|---|
| protected java.lang.String | callPgctl(java.lang.String command, boolean waitForIt) | 
| void | customize() | 
| protected void | customizeUserCreationScript() | 
| protected java.lang.String | getDataDir() | 
| PostgreSqlNodeImpl | getEntity() | 
| protected java.lang.String | getLogFile() | 
| java.lang.String | getStatusCmd() | 
| void | install() | 
| boolean | isRunning() | 
| void | kill() | 
| void | launch() | 
| void | stop() | 
| static java.lang.String | sudoAsUserAppendCommandOutputToFile(java.lang.String user, java.lang.String commandWhoseOutputToWrite, java.lang.String file) | 
| Methods inherited from class AbstractSoftwareProcessDriver | |
|---|---|
| customize, doFullStartOnRestart, getEntity, getLocation, getResource, getResourceAsString, install, kill, launch, postLaunch, processTemplate, processTemplate, processTemplate, processTemplate, processTemplateContents, processTemplateContents, rebind, restart, start, stop, waitForConfigKey | 
| Field Detail | 
|---|
public static final Logger log
| Constructor Detail | 
|---|
public PostgreSqlSshDriver(PostgreSqlNodeImpl entity, SshMachineLocation machine)
| Method Detail | 
|---|
protected java.lang.String callPgctl(java.lang.String command, boolean waitForIt)
sudo("mkdir -p " + getDataDir()),
public void customize()
        
protected void customizeUserCreationScript()
protected java.lang.String getDataDir()
} } public PostgreSqlNodeImpl getEntity()
protected java.lang.String getLogFile()
public java.lang.String getStatusCmd()
@Override public void install()
public void stop() {
public boolean isRunning()
        
} public void kill()
public boolean isRunning() {
public void launch()
        
public void kill() {
public void stop()
        
public static java.lang.String sudoAsUserAppendCommandOutputToFile(java.lang.String user, java.lang.String commandWhoseOutputToWrite, java.lang.String file)
Brooklyn Multi-Cloud Application Management Platform 
 brooklyncentral.github.com. Apache License. © 2012.