Groovy Documentation

org.linkedin.glu.orchestration.engine.commands
[Groovy] Class CommandExecutionStorageImpl

java.lang.Object
  org.linkedin.glu.orchestration.engine.commands.AbstractCommandExecutionStorage
      org.linkedin.glu.orchestration.engine.commands.CommandExecutionStorageImpl

class CommandExecutionStorageImpl
extends AbstractCommandExecutionStorage

Authors:
yan@pongasoft.com


Field Summary
static java.lang.String MODULE

static Logger log

 
Fields inherited from class AbstractCommandExecutionStorage
MODULE, log
 
Property Summary
int maxResults

 
Method Summary
protected DbCommandExecution doEndExecution(java.lang.String commandId, long endTime, byte[] stdoutFirstBytes, java.lang.Long stdoutTotalBytesCount, byte[] stderrFirstBytes, java.lang.Long stderrTotalBytesCount, java.lang.String exitValue, java.lang.String exitError)

protected DbCommandExecution doFindByCommandId(java.lang.String commandId)

DbCommandExecution findCommandExecution(java.lang.String fabric, java.lang.String commandId)

java.util.Map findCommandExecutions(java.lang.String fabric, java.lang.String agent, java.lang.Object params)

DbCommandExecution startExecution(java.lang.String fabric, java.lang.String agent, java.lang.String username, java.lang.String command, boolean redirectStderr, byte[] stdinFirstBytes, java.lang.Long stdinTotalBytesCount, java.lang.String commandId, CommandType commandType, long startTime)

 
Methods inherited from class AbstractCommandExecutionStorage
doEndExecution, doFindByCommandId, doUpdate, endExecution, endExecution
 

Field Detail

MODULE

public static final java.lang.String MODULE


log

public static final Logger log


 
Property Detail

maxResults

@Initializable
int maxResults


 
Method Detail

doEndExecution

@Override
protected DbCommandExecution doEndExecution(java.lang.String commandId, long endTime, byte[] stdoutFirstBytes, java.lang.Long stdoutTotalBytesCount, byte[] stderrFirstBytes, java.lang.Long stderrTotalBytesCount, java.lang.String exitValue, java.lang.String exitError)


doFindByCommandId

@Override
protected DbCommandExecution doFindByCommandId(java.lang.String commandId)


findCommandExecution

@Override
DbCommandExecution findCommandExecution(java.lang.String fabric, java.lang.String commandId)


findCommandExecutions

@Override
java.util.Map findCommandExecutions(java.lang.String fabric, java.lang.String agent, java.lang.Object params)


startExecution

@Override
DbCommandExecution startExecution(java.lang.String fabric, java.lang.String agent, java.lang.String username, java.lang.String command, boolean redirectStderr, byte[] stdinFirstBytes, java.lang.Long stdinTotalBytesCount, java.lang.String commandId, CommandType commandType, long startTime)


 

Groovy Documentation