|
Brooklyn | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD | |||||||
java.lang.Objectbrooklyn.entity.basic.AbstractSoftwareProcessDriver
brooklyn.entity.basic.AbstractSoftwareProcessSshDriver
brooklyn.entity.basic.lifecycle.legacy.SshBasedAppSetup
brooklyn.entity.nosql.redis.RedisSetup
class RedisSetup extends SshBasedAppSetup
Start a RedisStore in a Location accessible over ssh.
| Field Summary | |
|---|---|
static java.lang.String |
DEFAULT_INSTALL_DIR
|
static java.lang.String |
DEFAULT_VERSION
|
| Fields inherited from class SshBasedAppSetup | |
|---|---|
| log |
| Fields inherited from class AbstractSoftwareProcessSshDriver | |
|---|---|
| BROOKLYN_HOME_DIR, CHECK_RUNNING, CUSTOMIZING, DEFAULT_INSTALL_BASEDIR, DEFAULT_RUN_BASEDIR, INSTALLING, KILLING, LAUNCHING, NO_VERSION_INFO, PID_FILENAME, RESTARTING, STOPPING, log, logSsh |
| Fields inherited from class AbstractSoftwareProcessDriver | |
|---|---|
| entity |
| Property Summary | |
|---|---|
int |
redisPort
|
| Constructor Summary | |
RedisSetup(RedisStore entity, SshMachineLocation machine)
|
|
| Method Summary | |
|---|---|
void
|
config()
|
java.util.List
|
getCheckRunningScript()
@see SshBasedAppSetup#getCheckRunningScript() |
java.util.List
|
getConfigScript()
|
java.util.List
|
getInstallScript()
|
java.util.List
|
getRunScript()
Starts redis from the runDir directory. |
java.util.List
|
getShutdownScript()
Restarts redis with the current configuration. |
static RedisSetup
|
newInstance(RedisStore entity, SshMachineLocation machine)
|
protected void
|
postShutdown()
|
protected void
|
setEntityAttributes()
|
| Methods inherited from class AbstractSoftwareProcessSshDriver | |
|---|---|
| copyFile, copyFile, execute, execute, getDefaultVersion, getEntityVersionLabel, getEntityVersionLabel, getHostname, getInstallDir, getLocation, getMachine, getPortsUsed, getRunDir, getShellEnvironment, getVersion, newScript, newScript |
| Methods inherited from class AbstractSoftwareProcessDriver | |
|---|---|
| customize, getEntity, getLocation, getResource, install, kill, launch, postLaunch, restart, start, stop, waitForConfigKey |
| Field Detail |
|---|
public static final java.lang.String DEFAULT_INSTALL_DIR
public static final java.lang.String DEFAULT_VERSION
| Property Detail |
|---|
int redisPort
| Constructor Detail |
|---|
RedisSetup(RedisStore entity, SshMachineLocation machine)
| Method Detail |
|---|
@Override void config()
java.util.List getCheckRunningScript()
@Override java.util.List getConfigScript()
@Override java.util.List getInstallScript()
java.util.List getRunScript()
@Override java.util.List getShutdownScript()
static RedisSetup newInstance(RedisStore entity, SshMachineLocation machine)
@Override protected void postShutdown()
@Override protected void setEntityAttributes()
Brooklyn Multi-Cloud Application Management Platform
brooklyncentral.github.com. Apache License. © 2012.