ScannerThread
- the type of scannerScanTarget
- the main target of a scan thread (e.g. Context, SiteNode, domain).public interface ScannerThreadManager<ScannerThread extends BaseScannerThread<?>,ScanTarget>
Modifier and Type | Method and Description |
---|---|
void |
clearThreads()
Clear threads.
|
Collection<ScannerThread> |
getAllThreads()
Gets the all threads.
|
ScannerThread |
getScannerThread(ScanTarget scanTarget)
Gets the scanner thread for a target.
|
ScannerThread |
recreateScannerThreadIfHasRun(ScanTarget scanTarget)
Recreate the scanner thread for a target if it has already run.
|
void |
stopAllScannerThreads()
Stop all scans.
|
ScannerThread getScannerThread(ScanTarget scanTarget)
scanTarget
- the scan targetScannerThread recreateScannerThreadIfHasRun(ScanTarget scanTarget)
scanTarget
- the scan targetCollection<ScannerThread> getAllThreads()
void clearThreads()
void stopAllScannerThreads()