Class SplitterAggregator
java.lang.Object
org.chenile.owiz.impl.CommandBase<SplitterContext>
org.chenile.owiz.impl.splitaggregate.SplitterAggregator
- All Implemented Interfaces:
AttachableCommand<SplitterContext>
,BypassableCommand<SplitterContext>
,Command<SplitterContext>
,OrchestrationAware<SplitterContext>
public class SplitterAggregator
extends CommandBase<SplitterContext>
implements AttachableCommand<SplitterContext>
Implements a split aggregate functionality. The context must implement the SplitterContext
interface.
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate class
-
Field Summary
Modifier and TypeFieldDescriptionprivate CommandDescriptor<?>
private ExecutorService
static final String
private int
Fields inherited from class org.chenile.owiz.impl.CommandBase
commandDescriptor, orchConfigurator
-
Constructor Summary
ConstructorDescriptionSplitterAggregator
(ExecutorService executorService) SplitterAggregator
(ExecutorService executorService, int timeoutInMilliSeconds) -
Method Summary
Modifier and TypeMethodDescriptionvoid
attachCommand
(AttachmentDescriptor<SplitterContext> attachmentDescriptor, CommandDescriptor<SplitterContext> command) protected void
doExecute
(SplitterContext splitContext) Methods inherited from class org.chenile.owiz.impl.CommandBase
bypass, execute, getConfigValue, getId, getParentId, obtainCommand, postprocess, preprocess, setCommandDescriptor, setOrchConfigurator
-
Field Details
-
command
-
executorService
-
timeoutInMilliSeconds
private int timeoutInMilliSeconds -
TIMEOUT_ERR
- See Also:
-
-
Constructor Details
-
SplitterAggregator
-
SplitterAggregator
-
-
Method Details
-
attachCommand
public void attachCommand(AttachmentDescriptor<SplitterContext> attachmentDescriptor, CommandDescriptor<SplitterContext> command) - Specified by:
attachCommand
in interfaceAttachableCommand<SplitterContext>
-
doExecute
- Specified by:
doExecute
in classCommandBase<SplitterContext>
- Throws:
Exception
-