Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TeeTime-Framework
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nelson Tavares de Sousa
TeeTime-Framework
Commits
73295e6c
Commit
73295e6c
authored
9 years ago
by
Nelson Tavares de Sousa
Browse files
Options
Downloads
Patches
Plain Diff
switched wrong javadocs
parent
dc1037fc
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/main/java/teetime/stage/basic/distributor/Distributor.java
+22
-21
22 additions, 21 deletions
...ain/java/teetime/stage/basic/distributor/Distributor.java
src/main/java/teetime/stage/basic/merger/Merger.java
+21
-21
21 additions, 21 deletions
src/main/java/teetime/stage/basic/merger/Merger.java
with
43 additions
and
42 deletions
src/main/java/teetime/stage/basic/distributor/Distributor.java
+
22
−
21
View file @
73295e6c
...
...
@@ -23,35 +23,36 @@ import teetime.stage.basic.distributor.strategy.IDistributorStrategy;
import
teetime.stage.basic.distributor.strategy.RoundRobinStrategy2
;
/**
* New output ports can be created by calling {@link #getNewOutputPort()}.
*
* @stage.sketch
*
* <pre>
* +---------------------------+
* | |
* +---+ |
* | | +-----------+ |
* +---+ | |
* | | |
* | +---+
* . . . . ---+-------> | |
* | +---+
* | | |
* +---+ | |
* | | +-----------+ |
* +---+ |
* | |
* +---------------------------+
*
*
* <pre>
* +----------------------------+
* | |
* | +---+
* | +------------> | |
* | | +---+
* | | |
* +---+ |
* | | +-------+--- . . . .
* +---+ |
* | | |
* | | +---+
* | +------------> | |
* | +---+
* | |
* +----------------------------+
* </pre>
*
* @author Christian Wulf
* @stage.output The incoming element will be passed to output ports, which are selected by a strategy.
*
* @author Christian Wulf, Nelson Tavares de Sousa
*
* @since 1.0
*
* @param
T
* the type of the input
port and the
output ports
* @param
<T>
* the type of
both
the input
and
output ports
*/
public
class
Distributor
<
T
>
extends
AbstractConsumerStage
<
T
>
{
...
...
This diff is collapsed.
Click to expand it.
src/main/java/teetime/stage/basic/merger/Merger.java
+
21
−
21
View file @
73295e6c
...
...
@@ -26,36 +26,36 @@ import teetime.stage.basic.merger.strategy.RoundRobinStrategy;
/**
*
* This stage merges data from the input ports, by taking elements according to the chosen merge strategy and by putting them to the output port.
* New
out
put ports can be created by calling {@link #
createOut
putPort()}.
* New
in
put ports can be created by calling {@link #
getNewIn
putPort()}.
*
* @stage.sketch
*
* <pre>
*
+-
---------------------------+
*
|
|
*
|
+---+
*
|
+-
-----------
> |
|
*
|
|
+---+
*
|
|
|
*
+---+
|
*
| | +-------+--- . . . .
*
+---+
|
*
|
|
|
*
|
|
+---+
*
|
+-
-----------
> |
|
*
|
+---+
*
|
|
*
+-
---------------------------+
*
</pre>
*
+
---------------------------+
*
|
|
*
+---+
|
*
|
|
+
-----------
+
|
*
+---+
|
|
*
|
| |
*
|
+---+
*
. . . . ---+-------> | |
*
|
+---+
*
|
| |
*
+---+
|
|
*
|
|
+
-----------
+
|
*
+---+
|
*
|
|
*
+
---------------------------+
*
*
*
@stage.output The incoming element will be passed to output ports, which are selected by a strategy.
*
</pre>
*
* @author Christian Wulf
, Nelson Tavares de Sousa
* @author Christian Wulf
*
* @since 1.0
*
* @param
<T>
* the type of
both
the input
and
output ports
* @param
T
* the type of the input
port and the
output ports
*/
public
class
Merger
<
T
>
extends
AbstractStage
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment