Skip to content
Snippets Groups Projects
Commit 579c7c8d authored by Nelson Tavares de Sousa's avatar Nelson Tavares de Sousa
Browse files

clock javadoc

parent 7274fdd5
No related branches found
No related tags found
No related merge requests found
...@@ -18,6 +18,22 @@ package teetime.stage; ...@@ -18,6 +18,22 @@ package teetime.stage;
import teetime.framework.AbstractProducerStage; import teetime.framework.AbstractProducerStage;
import teetime.framework.TerminationStrategy; import teetime.framework.TerminationStrategy;
/**
* <pre>
* Illustration:
*
* +-----------------------+
* | |
* +---+ +---+
* | | +--> *DELAY* +--> | |
* +---+ +---+
* | |
* +-----------------------+
* </pre>
*
* @author Nelson Tavares de Sousa
*
*/
public final class Clock extends AbstractProducerStage<Long> { public final class Clock extends AbstractProducerStage<Long> {
private boolean initialDelayExceeded = false; private boolean initialDelayExceeded = false;
......
...@@ -27,10 +27,6 @@ import teetime.stage.basic.distributor.strategy.RoundRobinStrategy2; ...@@ -27,10 +27,6 @@ import teetime.stage.basic.distributor.strategy.RoundRobinStrategy2;
* <pre> * <pre>
* Illustration: * Illustration:
* *
* Inputports Outputport
* | |
* v v
*
* +---------------------------+ * +---------------------------+
* | | * | |
* +---+ | * +---+ |
......
...@@ -30,25 +30,21 @@ import teetime.stage.basic.merger.strategy.RoundRobinStrategy; ...@@ -30,25 +30,21 @@ import teetime.stage.basic.merger.strategy.RoundRobinStrategy;
* <pre> * <pre>
* Illustration: * Illustration:
* *
* Inputport Outputports * +----------------------------+
* | | * | |
* v v * | +---+
* * | +------------> | |
* +----------------------------+ * | | +---+
* | | * | | |
* | +---+ * +---+ |
* | +------------> | | * | | +-------+--- . . . .
* | | +---+ * +---+ |
* | | | * | | |
* +---+ | * | | +---+
* | | +-------+--- . . . . * | +------------> | |
* +---+ | * | +---+
* | | | * | |
* | | +---+ * +----------------------------+
* | +------------> | |
* | +---+
* | |
* +----------------------------+
* </pre> * </pre>
* *
* *
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment