Uses of Interface
adams.flow.core.ActorHandler
-
-
Uses of ActorHandler in adams.flow.control
Subinterfaces of ActorHandler in adams.flow.control Modifier and Type Interface Description interfaceLocalScopeHandlerInterface for actor handlers that provide a local scope for their sub-actors.interfaceScopeHandlerFor actors that define a scope like theFloworLocalScopeTriggeractor.Classes in adams.flow.control that implement ActorHandler Modifier and Type Class Description classAbstractConnectedControlActorAncestor for all actors that control (connected) sub-actors in some way.classAbstractContainerUpdaterAncestor for control actors that update a specific value of a container using the defined sub-actors.classAbstractControlActorAncestor for all actors that control sub-actors in some way.classAbstractDataContainerFileChecker<T extends DataContainer>Abstract ancestor for transformers that check data container files whether they are consistents before passing on the file/file arrays.classAbstractDirectedControlActorAncestor for all actors that control sub-actors in some way.classAbstractTeeAbstract ancestor for actors that tee-off tokens.classArrayGenerateApplies all sub-actors to the input token and generates an array from the collected output.
Each of the branches is expected to produce at most one output token (ideally one per branch, otherwise there will be null elements in the output array).classArrayProcessApplies all sub-actors to each of the array elements.classBranchBranches off the flow into several sub-branches, each being supplied with a copy of the same object being passed into this meta-actor.classCollectionProcessApplies all sub-actors to each of the collection elements.classConditionalSequenceThe sequence gets only executed if the condition holds true.classConditionalSubProcessEncapsulates a sequence of flow items.classConditionalTeeTees off the tokens if the condition evaluates to 'true'.classConditionalTriggerExecutes the tee-actor whenever a token gets passed through.classContainerValuePickerPicks a named value from any container object and tees it off.
With the 'switch-outputs' option it is possible to forward the named value and teeing off the container instead.
If 'ignore missing' is turned off, any value that cannot be found will generate an error logging message and, in case of switched outputs, an actual error.classCountCounts the number of tokens that pass through and meet the condition and tees off the current count every n-th token.classFileProcessorclassFlowContainer object for actors, used for executing a flow.classIfStorageValueAn If-Then-Else source actor for storage values.classIfThenElseEmulates an If-Then-Else construct.classInputOutputListenerListens to the input/output tokens of the sub-actors, sending them to callable actors.classJMapRuns jmap whenever a token gets passed through.classLaunchTeeLaunches the sub-flow in a separate thread each time a token arrives.
Internally, a adams.flow.control.LocalScopeTee is used to manage the scope and forward the token.
However, when imposing thread limits, a job gets created with the sub-actors and placed into a job runner for execution.classLaunchTriggerLaunches the sub-flow in a separate thread each time a token arrives.
Internally, a adams.flow.control.LocalScopeTrigger is used to manage the scope.
However, when imposing thread limits, a job gets created with the sub-actors and placed into a job runner for execution.classLoadBalancerRuns the specified 'load actor' in as many separate threads as specified with the 'num-threads' parameter.
Always uses a copy of the variables.
NB: no callable transformer or sink allowed.classLocalScopeSubProcessProvides a local scope for the sub-actors.
It is possible to 'propagate' or 'leak' variables and storage items from within the local scope back to the output scope.classLocalScopeTeeExecutes the sub-actors whenever a token gets passed through, just like the adams.flow.control.Tee actor, but also provides its own scope for variables and internal storage.
It is possible to 'propagate' or 'leak' variables and storage items from within the local scope back to the output scope.classLocalScopeTransformerProvides a local scope for the sub-actors.
It is possible to 'propagate' or 'leak' variables and storage items from within the local scope back to the output scope.classLocalScopeTriggerExecutes the sub-actors whenever a token gets passed through, just like the adams.flow.control.Trigger actor, but also provides its own scope for variables and internal storage.
It is possible to 'propagate' or 'leak' variables and storage items from within the local scope back to the output scope.classMutableConnectedControlActorAbstract superclass for actors that allow their sub-actors to modified (adding, removing, editing).classMutableControlActorAbstract superclass for actors that allow their sub-actors to modified (adding, removing, editing).classOnceTees off a token only once to its sub-actors.
However, this can be reset when the monitored variable changes.classPlotContainerUpdaterApplies all sub-actors to process either the selected value of the plot container.classRejectorRejects data containers with errors attached.classRemoteExecutionTriggerTransfers the actors below itself, the specified storage items and variables using the specified connection for remote execution.
Uses the adams.scripting.command.flow.RemoteFlowExecution remote command behind the scenes.classSequenceEncapsulates a sequence of flow items.classSinkResetResets all sub-actors in case the monitored variable changed since the last execution.classSourceResetResets all sub-actors in case the monitored variable changed since the last execution.classStorageValueSequenceAfter executing a sequence of actors, the stored item is forwarded in the flow.classSubProcessEncapsulates a sequence of flow items.classSwitchEmulates a Switch control statement.classTeeAllows to tap into the flow and tee-off tokens.classTimedSubProcessEncapsulates a sequence of flow items.classTimedTeeAllows to tap into the flow and tee-off tokens.
Times how long the sub-flow execution takes and sends the time in milli-seconds (as double) in a adams.flow.container.TimingContainer container to the specified callable actor.classTimedTriggerExecutes the subs-actors whenever a token gets passed through.classTransformerResetResets all sub-actors in case the monitored variable changed since the last execution.classTriggerExecutes the tee-actor whenever a token gets passed through.classTriggerOnceTriggers the sub-flow only once.
However, this can be reset when the monitored variable changes.classTryCatchSafe-guards the execution of the 'try' sequence of actors.classUpdateContainerValueApplies all sub-actors to process the specified value of the container passing through.classUpdatePropertiesUpdates the properties of the sub-actor using the values associated with the specfiied variables.classWhileLoopEmulates a while-loop.Methods in adams.flow.control with parameters of type ActorHandler Modifier and Type Method Description StringFlow. addCallableName(ActorHandler handler, Actor actor)Adds the callable name to the list of used ones.StringLocalScopeSubProcess. addCallableName(ActorHandler handler, Actor actor)Adds the callable name to the list of used ones.StringLocalScopeTee. addCallableName(ActorHandler handler, Actor actor)Adds the callable name to the list of used ones.StringLocalScopeTrigger. addCallableName(ActorHandler handler, Actor actor)Adds the callable name to the list of used ones.StringScopeHandler. addCallableName(ActorHandler handler, Actor actor)Adds the callable name to the list of used ones.booleanFlow. isCallableNameUsed(ActorHandler handler, Actor actor)Checks whether a callable name is already in use.booleanLocalScopeSubProcess. isCallableNameUsed(ActorHandler handler, Actor actor)Checks whether a callable name is already in use.booleanLocalScopeTee. isCallableNameUsed(ActorHandler handler, Actor actor)Checks whether a callable name is already in use.booleanLocalScopeTrigger. isCallableNameUsed(ActorHandler handler, Actor actor)Checks whether a callable name is already in use.booleanScopeHandler. isCallableNameUsed(ActorHandler handler, Actor actor)Checks whether a callable name is already in use. -
Uses of ActorHandler in adams.flow.core
Subinterfaces of ActorHandler in adams.flow.core Modifier and Type Interface Description interfaceActorReferenceHandlerInterface for actors that manage callable actors.interfaceFixedNameActorHandlerInterface for actor handlers that use fixed names for their sub-actors, e.g., IfThenElse.interfaceMutableActorHandlerInterface for actors that allow to add/remove sub-actors as well.interfaceSortableActorHandlerInterface for actor handlers that can sort their child actors.Methods in adams.flow.core that return types with arguments of type ActorHandler Modifier and Type Method Description static List<ActorHandler>ActorUtils. findActorHandlers(Actor actor)Returns a list of actor handlers, starting from the current note (excluded).static List<ActorHandler>ActorUtils. findActorHandlers(Actor actor, boolean mustAllowStandalones)Returns a list of actor handlers, starting from the current note (excluded).static List<ActorHandler>ActorUtils. findActorHandlers(Actor actor, boolean mustAllowStandalones, boolean includeSameLevel)Returns a list of actor handlers, starting from the current note (excluded).Methods in adams.flow.core with parameters of type ActorHandler Modifier and Type Method Description voidCallableNamesRecorder. add(ActorHandler handler, Actor actor)Adds the name to the recorded ones.booleanCallableNamesRecorder. contains(ActorHandler handler, Actor actor)Checks whether the name of the actor is already in use.static ActorActorUtils. createExternalActor(Actor[] actors, ActorHandler suggestion)Ensures that the actors are enclosed in an "instantiable" wrapper.ActorCallableActorHelper. findCallableActor(ActorHandler handler, CallableActorReference name)Checks a control actor's children whether they contain the callable actor that we're looking for.protected voidCallableActorHelper. findCallableActors(ActorHandler handler, List<Actor> collected)Locates callable actors.protected static ActorActorUtils. findClosestType(ActorHandler handler, Class type)Checks an actor handler's children whether they contain the actor type we're looking for.protected static List<Actor>ActorUtils. findClosestTypes(ActorHandler handler, Class type)Checks an actor handler's children whether they contain the actor type we're looking for.ActorEventHelper. findEvent(ActorHandler group, EventReference name)Checks a control actor's children whether they contain the event that we're looking for.ActorCallableActorHelper. findMultiView(ActorHandler handler, CallableActorReference name)Checks a control actor's children whether they contain the multi-view actor that we're looking for.protected StringCallableNamesRecorder. generateKey(ActorHandler handler)Generates the key for the handler.protected static StringActorUtils. setActors(ActorHandler handler, Actor[] actors)Sets the actors in the handler.static booleanActorUtils. uniqueName(Actor actor, ActorHandler handler, int index)Updates the name of the actor to make it unique among all the other actors of the given handler. -
Uses of ActorHandler in adams.flow.processor
Methods in adams.flow.processor with parameters of type ActorHandler Modifier and Type Method Description protected voidReactivateActors. activate(ActorHandler handler, int index)Reactivates the specified actor. -
Uses of ActorHandler in adams.flow.sink
Classes in adams.flow.sink that implement ActorHandler Modifier and Type Class Description classAutogeneratedSinkEncapsulates a sequence of auto-generated actors.
Can be removed with the adams.flow.processor.RemoveAutogeneratedActors processor.classInactiveSinkEncapsulates a sequence of inactive actors.
Can be removed with the adams.flow.processor.ReactivateActors processor. -
Uses of ActorHandler in adams.flow.source
Classes in adams.flow.source that implement ActorHandler Modifier and Type Class Description classAutogeneratedSourceEncapsulates a sequence of auto-generated actors, with the last one generating the output for this meta-source.
Can be removed with the adams.flow.processor.RemoveAutogeneratedActors processor.classInactiveSourceEncapsulates a sequence of flow items, with the last one generating the output for this meta-source.
Can be removed with the adams.flow.processor.ReactivateActors processor.classSequenceSourceEncapsulates a sequence of flow items, with the last one generating the output for this meta-source.classSwitchedSourceclassTimedSourceEncapsulates a sequence of flow items, with the last one generating the output for this meta-source.
Times how long the sub-source execution takes and sends the time in milli-seconds (as double) in a adams.flow.container.TimingContainer container to the specified callable actor. -
Uses of ActorHandler in adams.flow.standalone
Subinterfaces of ActorHandler in adams.flow.standalone Modifier and Type Interface Description interfaceStandaloneGroup<T extends Actor>Interface for a group of standalones.interfaceStandaloneMutableGroup<T extends Actor>Interface for a mutable group of standalones.Classes in adams.flow.standalone that implement ActorHandler Modifier and Type Class Description classAbstractMultiViewAncestor for graphical actors that display multiple views.classAbstractMutableActorDaemonEvent<E,P>Ancestor for daemon events that handle sub-actors.classAbstractMutableStandaloneGroupItem<T extends Actor>Ancestor for group items that can contain other actors.classAbstractStandaloneGroup<T extends Actor>Ancestor for fixed-sized groups.classAbstractStandaloneGroupItemGroup<S extends Actor,E extends Actor>Ancestor for group items that form a group themselves.classAbstractStandaloneGroupItemMutableGroup<S extends Actor,E extends Actor>Ancestor for group items that form a group themselves.classAbstractStandaloneMutableGroup<T extends Actor>Ancestor for mutable groups of standalones.classAutogeneratedStandaloneContainer for auto-generated standalone actors.
Can be removed with the adams.flow.processor.RemoveAutogeneratedActors processor.classCallableActorsContainer for actors that need to be accessed via their name.classConditionalStandalonesExecutes the sub-actors only when the boolean condition evaluates to 'true'.classCronExecutes an actor according to a pre-defined schedule.
Note: since the actor merely starts the cron scheduler in the background, the actor finishes the execution pretty much immediately.classDelayedEventExecutes its sub-flow after a predefined number of milli-seconds.classDirWatchclassEventsContainer for event actors.classGridViewDisplays multiple graphical actors in a grid.classInactiveStandaloneContainer for inactive standalone actors.
Can be activated with the adams.flow.processor.ReactivateActors processor.classJavaExecForks off a new JVM with the same classpath by default.classLogEventListens to the global log record handler and processes records that passed the specified filter(s).
This allows, for instance, the output of log messages into a log file.
By default, log records are only processed if the sub-actors are not currently being executed.classQueueEventExecutes its sub-flow after a predefined number of milli-seconds.classStandalonesContainer for standalone actors.classStandaloneSubFlowclassSubProcessEventExecutes its sub-flow after a predefined number of milli-seconds.classTabViewDisplays multiple graphical actors in a tabbed pane.classVariableChangedEventListens to a any changes to the specified variable.
This allows, for instance, the monitoring of a variable.
Enable the 'noDiscard' property to process all change events - NB: this can slow down the system significantly. -
Uses of ActorHandler in adams.flow.transformer
Classes in adams.flow.transformer that implement ActorHandler Modifier and Type Class Description classAutogeneratedTransformerEncapsulates a sequence of auto-generated actors.classInactiveTransformerEncapsulates a sequence of inactive actors. -
Uses of ActorHandler in adams.gui.flow.tree
Classes in adams.gui.flow.tree that implement ActorHandler Modifier and Type Class Description classClipboardActorContainerA simple container for multiple actors, for easy copying to and retrieving from the clipboard.Methods in adams.gui.flow.tree with parameters of type ActorHandler Modifier and Type Method Description voidTreeOperations. encloseActor(TreePath[] paths, ActorHandler handler)Encloses the selected actors in the specified actor handler. -
Uses of ActorHandler in adams.gui.flow.tree.record.enclose
Methods in adams.gui.flow.tree.record.enclose with parameters of type ActorHandler Modifier and Type Method Description protected abstract voidAbstractRecordActorEnclosed. doRecord(Tree tree, TreePath[] paths, ActorHandler handler)Records the enclosing action.protected voidMostCommon. doRecord(Tree tree, TreePath[] paths, ActorHandler handler)Records the enclosing action.protected voidSimpleLog. doRecord(Tree tree, TreePath[] paths, ActorHandler handler)Records the enclosing action.voidAbstractRecordActorEnclosed. record(Tree tree, TreePath[] paths, ActorHandler handler)Records the enclosing action.static voidAbstractRecordActorEnclosed. recordAll(Tree tree, TreePath[] paths, ActorHandler handler)Records the actor that was added.
-