interface for worker @author Tomer Shalev
| 12 | * |
| 13 | */ |
| 14 | @SuppressWarnings("UnusedDeclaration") |
| 15 | public interface IWorker extends IId, IPriority, IWorkable, IDisposable { |
| 16 | /** |
| 17 | * is the worker running? |
| 18 | * |
| 19 | * @return {@code true/false} |
| 20 | */ |
| 21 | boolean isWorking(); |
| 22 | |
| 23 | /** |
| 24 | * has the worker finished? |
| 25 | * |
| 26 | * @return {@code true/false} |
| 27 | */ |
| 28 | boolean isFinished(); |
| 29 | |
| 30 | /** |
| 31 | * is the worker ready (has not run yet)? |
| 32 | * |
| 33 | * @return {@code true/false} |
| 34 | */ |
| 35 | boolean isReady(); |
| 36 | |
| 37 | } |
nothing calls this directly
no outgoing calls
no test coverage detected