Overview
Package
Class
Deprecated
Index
Help
Groovy Documentation
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
_
A
AbstractCommandExecutionIOStorage
- Class in
org.linkedin.glu.commands.impl
@author yan@pongasoft.com
AbstractCommandStreamStorage
- Class in
org.linkedin.glu.commands.impl
@author yan@pongasoft.com
asyncCaptureIO
(Submitter, Closure)
- Method in
AbstractCommandStreamStorage
asyncCaptureIO
(Submitter, Closure)
- Method in
CommandExecution
Asynchronously executes the command.
asyncCaptureIO
(Submitter, Closure)
- Method in
CommandStreamStorage
Asynchronously executes the command.
B
C
captureIO
(CommandExecution, Closure)
- Method in
AbstractCommandExecutionIOStorage
Will be called back to capture the IO
captureIO
(CommandExecution, Closure)
- Method in
FileSystemCommandExecutionIOStorage
captureIO
(CommandExecution, Closure)
- Method in
MemoryCommandExecutionIOStorage
close
()
- Method in
FileSystemStreamStorage
Close all streams we know about
CommandExecution
- Class in
org.linkedin.glu.commands.impl
@author yan@pongasoft.com
CommandExecution
(String, def)
- Constructor in
CommandExecution
CommandExecutionIOStorage
- Interface in
org.linkedin.glu.commands.impl
This class encapsulates the storage of IO for commands, this way it is easy to "disable" the storage.
CommandStreamStorage
- Interface in
org.linkedin.glu.commands.impl
@author yan@pongasoft.com
createGluCommand
(CommandExecution)
- Method in
GluCommandFactory
createInputStream
(Resource)
- Method in
FileSystemCommandExecutionIOStorage
Creates the input stream but let a plugin customize it
createInputStream
(Resource)
- Method in
FileSystemStreamStorage
Creates the input stream but let a plugin customize it
createOutputStream
(Resource)
- Method in
FileSystemCommandExecutionIOStorage
Creates the output stream but let a plugin customize it
createOutputStream
(Resource)
- Method in
FileSystemStreamStorage
Creates the output stream but let a plugin customize it
createStorageForCommandExecution
(def)
- Method in
AbstractCommandExecutionIOStorage
createStorageForCommandExecution
(def)
- Method in
CommandExecutionIOStorage
@param gluCommandFactory create storage for command execution
D
E
F
FileSystemCommandExecutionIOStorage
- Class in
org.linkedin.glu.commands.impl
@author yan@pongasoft.com
FileSystemStreamStorage
- Class in
org.linkedin.glu.commands.impl
@author yan@pongasoft.com
findByteArrayOutputStream
(StreamType)
- Method in
MemoryStreamStorage
findCommandExecution
(String)
- Method in
CommandExecutionIOStorage
@return the command of a previously run/stored command
findCommandExecution
(String)
- Method in
FileSystemCommandExecutionIOStorage
findCommandExecution
(String)
- Method in
MemoryCommandExecutionIOStorage
findCommandExecutionAndStreams
(String, def)
- Method in
AbstractCommandExecutionIOStorage
{@inheritdoc}
findCommandExecutionAndStreams
(String, def)
- Method in
CommandExecutionIOStorage
This method allows you to start streaming the results (stdout, stderr,...) while the command is still running.
findStorageInput
(StreamType)
- Method in
AbstractCommandStreamStorage
findStorageInput
(def)
- Method in
CommandStreamStorage
This method allows you to start streaming the results (stdout, stderr,...) while the command is still running.
findStorageInputWithSize
(StreamType, def)
- Method in
AbstractCommandStreamStorage
findStorageInputWithSize
(StreamType, def)
- Method in
CommandStreamStorage
Return the stream for the command.
findStorageInputWithSize
(StreamType)
- Method in
FileSystemStreamStorage
findStorageInputWithSize
(StreamType)
- Method in
MemoryStreamStorage
findStorageInputWithSize
(StreamType)
- Method in
NoCommandStreamStorage
findStorageOutput
(StreamType)
- Method in
CommandStreamStorage
findStorageOutput
(StreamType)
- Method in
FileSystemStreamStorage
findStorageOutput
(StreamType)
- Method in
MemoryStreamStorage
findStorageOutput
(StreamType)
- Method in
NoCommandStreamStorage
G
getArgs
()
- Method in
CommandExecution
Map of arguments used to create the command
getCommandResource
()
- Method in
FileSystemStreamStorage
getCompletionValue
(def)
- Method in
CommandExecution
Completion value either return the result of the call if succeeded or the exception if an exception was thrown.
getExitValue
(def)
- Method in
CommandExecution
getExitValueIfCompleted
()
- Method in
CommandExecution
getId
()
- Method in
CommandExecution
getLog
()
- Method in
CommandExecution
getMaxNumberOfElements
()
- Method in
MemoryCommandExecutionIOStorage
getStreams
()
- Method in
FileSystemStreamStorage
GluCommandFactory
- Interface in
org.linkedin.glu.commands.impl
@author yan@pongasoft.com
H
hasStdin
()
- Method in
CommandExecution
I
interruptExecution
()
- Method in
CommandExecution
isCompleted
()
- Method in
CommandExecution
isRedirectStderr
()
- Method in
CommandExecution
J
K
L
log
- Field in
AbstractCommandExecutionIOStorage
log
- Field in
AbstractCommandStreamStorage
log
- Field in
FileSystemCommandExecutionIOStorage
log
- Field in
MemoryCommandExecutionIOStorage
M
MemoryCommandExecutionIOStorage
- Class in
org.linkedin.glu.commands.impl
This implementation is obviously very ephemeral and should be used carefully
MemoryStreamStorage
- Class in
org.linkedin.glu.commands.impl
@author yan@pongasoft.com
MODULE
- Field in
AbstractCommandExecutionIOStorage
MODULE
- Field in
AbstractCommandStreamStorage
MODULE
- Field in
FileSystemCommandExecutionIOStorage
MODULE
- Field in
MemoryCommandExecutionIOStorage
N
NoCommandStreamStorage
- Class in
org.linkedin.glu.commands.impl
@author yan@pongasoft.com
O
P
Q
R
S
saveCommandExecution
(CommandExecution, def)
- Method in
AbstractCommandExecutionIOStorage
Should save the command in persistent state (as well as stdin if there is any)
saveCommandExecution
(CommandExecution, def)
- Method in
FileSystemCommandExecutionIOStorage
saveCommandExecution
(CommandExecution, def)
- Method in
MemoryCommandExecutionIOStorage
setFutureExecution
(FutureTaskExecution)
- Method in
CommandExecution
setMaxNumberOfElements
(int)
- Method in
MemoryCommandExecutionIOStorage
StreamType
- Enum in
org.linkedin.glu.commands.impl
@author yan@pongasoft.com
syncCaptureIO
(Closure)
- Method in
AbstractCommandStreamStorage
syncCaptureIO
(Closure)
- Method in
CommandExecution
Synchronously executes the command
syncCaptureIO
(Closure)
- Method in
CommandStreamStorage
Synchronously executes the command
T
U
V
W
waitForCompletion
(def)
- Method in
CommandExecution
waitForCompletionNoException
(def)
- Method in
CommandExecution
@param timeout
waitForFutureExecution
(def, Closure)
- Method in
CommandExecution
This method waits for 1. the future to be set, 2. the future to have started no longer than the timeout (overall).
waitForStart
(def)
- Method in
CommandExecution
withOrWithoutCommandExecutionAndStreams
(String, def, Closure)
- Method in
AbstractCommandExecutionIOStorage
withOrWithoutCommandExecutionAndStreams
(String, def, Closure)
- Method in
CommandExecutionIOStorage
Similar to
findCommandExecutionAndStreams
but calls the closure with the map or with
null
withOrWithoutStorageInput
(def, Closure)
- Method in
AbstractCommandStreamStorage
withOrWithoutStorageInput
(def, Closure)
- Method in
CommandStreamStorage
Similar to
findStorageInput
but calls the closure with the stream or with
null
withOrWithoutStorageInputWithSize
(StreamType, Object, Closure)
- Method in
AbstractCommandStreamStorage
withOrWithoutStorageInputWithSize
(StreamType, def, Closure)
- Method in
CommandStreamStorage
Same as
findStorageInputWithSize
but call the closure with the map (and make sure that the stream gets closed properly).
withOrWithoutStorageOutput
(StreamType, Closure)
- Method in
AbstractCommandStreamStorage
withOrWithoutStorageOutput
(StreamType, Closure)
- Method in
CommandStreamStorage
withStorageInputWithSize
(StreamType, Object, Closure)
- Method in
AbstractCommandStreamStorage
withStorageInputWithSize
(StreamType, def, Closure)
- Method in
CommandStreamStorage
Same as
findStorageInputWithSize
but call the closure with the map (and make sure that the stream gets closed properly).
X
Y
Z
_
Groovy Documentation