Interface TaskProcessor
-
- All Known Implementing Classes:
TaskManager
public interface TaskProcessor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetTopic()booleanisActive()booleanresume()booleanstart(long timeout, TimeUnit timeUnit)booleanstop(long timeout, TimeUnit timeUnit)
-
-
-
Method Detail
-
start
boolean start(long timeout, TimeUnit timeUnit) throws InterruptedException, TimeoutException- Throws:
InterruptedExceptionTimeoutException
-
stop
boolean stop(long timeout, TimeUnit timeUnit) throws InterruptedException, TimeoutException- Throws:
InterruptedExceptionTimeoutException
-
resume
boolean resume()
-
isActive
boolean isActive()
-
getTopic
String getTopic()
-
-