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
Nested ClassesModifier and TypeClassDescriptionprivate class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate CommandDescriptor<?>private ExecutorServicestatic final Stringprivate intFields inherited from class org.chenile.owiz.impl.CommandBase
commandDescriptor, orchConfigurator -
Constructor Summary
ConstructorsConstructorDescriptionSplitterAggregator(ExecutorService executorService) SplitterAggregator(ExecutorService executorService, int timeoutInMilliSeconds) -
Method Summary
Modifier and TypeMethodDescriptionvoidattachCommand(AttachmentDescriptor<SplitterContext> attachmentDescriptor, CommandDescriptor<SplitterContext> command) protected voiddoExecute(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:
attachCommandin interfaceAttachableCommand<SplitterContext>
-
doExecute
- Specified by:
doExecutein classCommandBase<SplitterContext>- Throws:
Exception
-