Groovy Documentation

org.linkedin.glu.commands.impl
[Groovy] Class MemoryCommandExecutionIOStorage

java.lang.Object
  org.linkedin.glu.commands.impl.AbstractCommandExecutionIOStorage
      org.linkedin.glu.commands.impl.MemoryCommandExecutionIOStorage

class MemoryCommandExecutionIOStorage
extends AbstractCommandExecutionIOStorage

This implementation is obviously very ephemeral and should be used carefully

Authors:
yan@pongasoft.com


Field Summary
static java.lang.String MODULE

static Logger log

 
Fields inherited from class AbstractCommandExecutionIOStorage
MODULE, log
 
Property Summary
java.util.Map completedCommands

Completed commands: keeps a maximum number of elements.

java.util.Map executingCommands

The commands that are currently executing

 
Method Summary
java.lang.Object captureIO(CommandExecution commandExecution, groovy.lang.Closure closure)

CommandExecution findCommandExecution(java.lang.String commandId)

int getMaxNumberOfElements()

protected AbstractCommandStreamStorage saveCommandExecution(CommandExecution commandExecution, java.lang.Object stdin)

void setMaxNumberOfElements(int maxNumberOfElements)

 
Methods inherited from class AbstractCommandExecutionIOStorage
captureIO, createStorageForCommandExecution, findCommandExecutionAndStreams, saveCommandExecution, withOrWithoutCommandExecutionAndStreams
 

Field Detail

MODULE

public static final java.lang.String MODULE


log

public static final Logger log


 
Property Detail

completedCommands

java.util.Map completedCommands
Completed commands: keeps a maximum number of elements.


executingCommands

java.util.Map executingCommands
The commands that are currently executing


 
Method Detail

captureIO

java.lang.Object captureIO(CommandExecution commandExecution, groovy.lang.Closure closure)


findCommandExecution

@Override
CommandExecution findCommandExecution(java.lang.String commandId)


getMaxNumberOfElements

int getMaxNumberOfElements()


saveCommandExecution

@Override
protected AbstractCommandStreamStorage saveCommandExecution(CommandExecution commandExecution, java.lang.Object stdin)


setMaxNumberOfElements

@Initializer
void setMaxNumberOfElements(int maxNumberOfElements)


 

Groovy Documentation