Groovy Documentation

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

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

abstract class AbstractCommandExecutionStorage

Authors:
yan@pongasoft.com


Field Summary
static java.lang.String MODULE

static Logger log

 
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)

protected DbCommandExecution doUpdate(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)

DbCommandExecution endExecution(java.lang.String commandId, long endTime, byte[] stdoutFirstBytes, java.lang.Long stdoutTotalBytesCount, byte[] stderrFirstBytes, java.lang.Long stderrTotalBytesCount, java.lang.String exitValueOrError, boolean isError)

DbCommandExecution endExecution(java.lang.String commandId, long endTime, byte[] stdoutFirstBytes, java.lang.Long stdoutTotalBytesCount, byte[] stderrFirstBytes, java.lang.Long stderrTotalBytesCount, java.lang.Throwable exception)

 
Methods inherited from class java.lang.Object
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
 

Field Detail

MODULE

public static final java.lang.String MODULE


log

public static final Logger log


 
Method Detail

doEndExecution

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

protected DbCommandExecution doFindByCommandId(java.lang.String commandId)


doUpdate

protected DbCommandExecution doUpdate(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)


endExecution

@Override
DbCommandExecution endExecution(java.lang.String commandId, long endTime, byte[] stdoutFirstBytes, java.lang.Long stdoutTotalBytesCount, byte[] stderrFirstBytes, java.lang.Long stderrTotalBytesCount, java.lang.String exitValueOrError, boolean isError)


endExecution

@Override
DbCommandExecution endExecution(java.lang.String commandId, long endTime, byte[] stdoutFirstBytes, java.lang.Long stdoutTotalBytesCount, byte[] stderrFirstBytes, java.lang.Long stderrTotalBytesCount, java.lang.Throwable exception)


 

Groovy Documentation