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