Brooklyn

brooklyn.entity.nosql.mongodb
[Java] Class AbstractMongoDBSshDriver

java.lang.Object
  brooklyn.entity.basic.AbstractSoftwareProcessDriver
      brooklyn.entity.basic.AbstractSoftwareProcessSshDriver
          brooklyn.entity.nosql.mongodb.AbstractMongoDBSshDriver

public abstract class AbstractMongoDBSshDriver
extends AbstractSoftwareProcessSshDriver

Field Summary
 
Fields inherited from class AbstractSoftwareProcessSshDriver
CHECK_RUNNING, CUSTOMIZING, DEBUG, IGNORE_ENTITY_SSH_FLAGS, INSTALLING, INSTALL_INCOMPLETE, KILLING, LAUNCHING, NON_STANDARD_LAYOUT, PID_FILENAME, PROCESS_OWNER, RESTARTING, STOPPING, USE_PID_FILE, VALID_FLAGS, log, logSsh
 
Fields inherited from class AbstractSoftwareProcessDriver
entity, location, resource
 
Constructor Summary
AbstractMongoDBSshDriver(EntityLocal entity, SshMachineLocation machine)

 
Method Summary
void customize()

protected Builder getArgsBuilderWithDefaults(AbstractMongoDBServer server)

protected java.lang.String getBaseName()

protected java.lang.String getConfFile()

java.lang.String getDataDirectory()

protected java.lang.String getLogFile()

java.lang.String getOsDir()

java.lang.String getOsTag()

protected java.lang.String getPidFile()

protected java.lang.Integer getServerPort()

void install()

boolean isRunning()

protected void launch(Builder argsBuilder)

void stop()

Kills the server with SIGINT.

 
Methods inherited from class AbstractSoftwareProcessSshDriver
copyResource, copyResource, copyResource, copyResources, copyTemplate, copyTemplate, copyTemplate, copyTemplates, execute, execute, getAddress, getDownloadFileSuffix, getDownloadFilename, getEntityVersionLabel, getEntityVersionLabel, getExpandedInstallDir, getHostname, getInstallDir, getInstallLabelExtraSalt, getLocation, getMachine, getPortsUsed, getRunDir, getShellEnvironment, getSshFlags, getVersion, newScript, newScript, setExpandedInstallDir, setInstallDir, setInstallLabel, setRunDir
 
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
 

Constructor Detail

AbstractMongoDBSshDriver

public AbstractMongoDBSshDriver(EntityLocal entity, SshMachineLocation machine)


 
Method Detail

customize

@java.lang.Override
public void customize()


getArgsBuilderWithDefaults

protected Builder getArgsBuilderWithDefaults(AbstractMongoDBServer server)


getBaseName

protected java.lang.String getBaseName()


getConfFile

protected java.lang.String getConfFile()


getDataDirectory

public java.lang.String getDataDirectory()


getLogFile

protected java.lang.String getLogFile()


getOsDir

public java.lang.String getOsDir()


getOsTag

public java.lang.String getOsTag()


getPidFile

protected java.lang.String getPidFile()


getServerPort

protected java.lang.Integer getServerPort()


install

@java.lang.Override
public void install()


isRunning

@java.lang.Override
public boolean isRunning()


launch

protected void launch(Builder argsBuilder)


stop

@java.lang.Override
public void stop()
Kills the server with SIGINT. Sending SIGKILL is likely to result in data corruption.
See Also:


 

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