0.10.8-alpha
|
An object that visits every processor in a chain, from a processor used as a starting point. More...
Public Member Functions | |
synchronized void | crawl (Processor start) |
Crawls a graph from some starting point. More... | |
abstract void | visit (Processor p) |
Do something on a processor. More... | |
Static Protected Attributes | |
static final int | s_maxCrawls = 10000 |
The maximum number of loops that the crawler can do during a traversal. More... | |
An object that visits every processor in a chain, from a processor used as a starting point.
Currently, this crawler is only used to clone GroupProcessors.
Definition at line 33 of file PipeCrawler.java.
synchronized void ca.uqac.lif.cep.PipeCrawler.crawl | ( | Processor | start | ) |
Crawls a graph from some starting point.
start | The processor to start fromS |
Definition at line 47 of file PipeCrawler.java.
|
abstract |
Do something on a processor.
Upon a call to crawl(Processor), this method is called exactly once for every reachable processor in the pipe graph.
p | A processor |
|
staticprotected |
The maximum number of loops that the crawler can do during a traversal.
This is intended as a safety measure to make sure that method crawl(Processor) always terminates.
Definition at line 40 of file PipeCrawler.java.