Interface Runner
- All Superinterfaces:
- Runnable
- All Known Implementing Classes:
- AbstractRunner
Interface for all Runners (periodic threads used in dispatcher/engine). It handles "stop" flag, so thread should
 know, when to stop and can be stopped from outside.
- Author:
- David Ĺ arman
- 
Method SummaryModifier and TypeMethodDescriptionbooleanReturn TRUE if Runner thread processing should stop.voidstop()Stop Runner thread (it's not interrupt - thread stops by own implementation in run() method).
- 
Method Details- 
shouldStopboolean shouldStop()Return TRUE if Runner thread processing should stop.- Returns:
- TRUE if should stop / FALSE otherwise
 
- 
stopvoid stop()Stop Runner thread (it's not interrupt - thread stops by own implementation in run() method).
 
-