@Singleton @ThreadSafe public class ExitNotifier extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ExitNotifier.ExitStatus
Represents the reason Crawljax stopped.
|
| Constructor and Description |
|---|
ExitNotifier(int maxStates) |
| Modifier and Type | Method and Description |
|---|---|
ExitNotifier.ExitStatus |
awaitTermination()
Waits until the crawl has to stop.
|
int |
incrementNumberOfStates() |
void |
signalCrawlExhausted()
Signal that all
CrawlTaskConsumers are done. |
void |
signalTimeIsUp() |
void |
stop()
Manually stop the crawl.
|
public ExitNotifier.ExitStatus awaitTermination() throws InterruptedException
InterruptedException - When the wait is interrupted.public int incrementNumberOfStates()
public void signalTimeIsUp()
public void signalCrawlExhausted()
CrawlTaskConsumers are done.public void stop()
Copyright © 2007-2013. All Rights Reserved.