se.unlogic.standardutils.threads
Interface ExecutionController<Task extends TaskGroup>

All Known Implementing Classes:
SimpleExecutionController

public interface ExecutionController<Task extends TaskGroup>


Method Summary
 void abort()
           
 void awaitExecution()
           
 void awaitExecution(long timeout)
           
 int getRemainingTaskCount()
           
 Task getTaskGroup()
           
 boolean isAborted()
           
 boolean isFinished()
           
 boolean isStarted()
           
 void start()
           
 

Method Detail

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.