Brooklyn

brooklyn.entity.nosql.couchdb
[Java] Class CouchDBNodeSshDriver

java.lang.Object
  brooklyn.entity.basic.AbstractSoftwareProcessDriver
      brooklyn.entity.basic.AbstractSoftwareProcessSshDriver
          brooklyn.entity.java.JavaSoftwareProcessSshDriver
              brooklyn.entity.nosql.couchdb.CouchDBNodeSshDriver
All Implemented Interfaces:
CouchDBNodeDriver

public class CouchDBNodeSshDriver
extends JavaSoftwareProcessSshDriver

Start a CouchDBNode in a Location accessible over ssh.


Field Summary
 
Fields inherited from class JavaSoftwareProcessSshDriver
KEY_VAL_OPT_PREFIXES, MUTUALLY_EXCLUSIVE_OPTS, 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
 
Constructor Summary
CouchDBNodeSshDriver(CouchDBNodeImpl entity, SshMachineLocation machine)

 
Method Summary
void customize()

java.lang.String getClusterName()

java.lang.String getCouchDBConfigFileName()

java.lang.String getCouchDBConfigTemplateUrl()

java.lang.String getCouchDBUriTemplateUrl()

java.lang.Integer getHttpPort()

java.lang.Integer getHttpsPort()

protected java.lang.String getLogFileLocation()

java.lang.String getPidFile()

java.util.Set getPortsUsed()

void install()

boolean isRunning()

void launch()

void stop()

 
Methods inherited from class JavaSoftwareProcessSshDriver
getCustomJavaConfigOptions, getCustomJavaSystemProperties, getJavaOpts, getJavaSystemProperties, getJmxContext, getJmxJavaConfigOptions, getJmxJavaSystemProperties, getJmxPort, getJmxSslSupport, getLogFileLocation, getRmiPort, getRmiServerPort, getShellEnvironment, installJava, installJmxSupport, isJmxEnabled, isJmxSslEnabled, start
 
Methods inherited from class AbstractSoftwareProcessSshDriver
copyFile, copyFile, copyFile, copyResource, copyResource, copyResource, copyResources, copyTemplate, copyTemplate, copyTemplates, execute, execute, getAddress, getDefaultVersion, getDownloadFileSuffix, getDownloadFilename, getEntityVersionLabel, getEntityVersionLabel, getHostname, getInstallDir, getLocation, getMachine, getPortsUsed, getRunDir, getShellEnvironment, getSshFlags, getVersion, newScript, newScript
 
Methods inherited from class AbstractSoftwareProcessDriver
customize, getEntity, getLocation, getResource, getResourceAsString, install, kill, launch, postLaunch, processTemplate, processTemplate, rebind, restart, start, stop, waitForConfigKey
 

Constructor Detail

CouchDBNodeSshDriver

public CouchDBNodeSshDriver(CouchDBNodeImpl entity, SshMachineLocation machine)


 
Method Detail

customize

@Override
public void customize()


getClusterName

@Override
public java.lang.String getClusterName()


getCouchDBConfigFileName

@Override
public java.lang.String getCouchDBConfigFileName()


getCouchDBConfigTemplateUrl

@Override
public java.lang.String getCouchDBConfigTemplateUrl()


getCouchDBUriTemplateUrl

@Override
public java.lang.String getCouchDBUriTemplateUrl()


getHttpPort

@Override
public java.lang.Integer getHttpPort()


getHttpsPort

@Override
public java.lang.Integer getHttpsPort()


getLogFileLocation

@Override
protected java.lang.String getLogFileLocation()


getPidFile

public java.lang.String getPidFile()


getPortsUsed

public java.util.Set getPortsUsed()


install

@Override
public void install()


isRunning

@Override
public boolean isRunning()


launch

@Override
public void launch()


stop

@Override
public void stop()


 

Brooklyn Multi-Cloud Application Management Platform
brooklyncentral.github.com. Apache License. © 2012.