se.unlogic.standardutils.threads
Interface ExecutionController<Task extends TaskGroup>
- All Known Implementing Classes:
- SimpleExecutionController
public interface ExecutionController<Task extends TaskGroup>
start
void start()
throws RejectedExecutionException
- Throws:
RejectedExecutionException
abort
void abort()
getRemainingTaskCount
int getRemainingTaskCount()
awaitExecution
void awaitExecution()
throws InterruptedException
- Throws:
InterruptedException
awaitExecution
void awaitExecution(long timeout)
throws InterruptedException
- Throws:
InterruptedException
isStarted
boolean isStarted()
isAborted
boolean isAborted()
isFinished
boolean isFinished()
getTaskGroup
Task getTaskGroup()
Copyright © 2011. All Rights Reserved.