cz.cuni.amis.tests
Class ConcurrentTask

Package class diagram package ConcurrentTask
java.lang.Object
  extended by cz.cuni.amis.tests.ConcurrentTask
All Implemented Interfaces:
Runnable

public abstract class ConcurrentTask
extends Object
implements Runnable


Constructor Summary
ConcurrentTask()
           
 
Method Summary
 Exception getException()
           
 boolean isException()
           
 void run()
           
protected abstract  void runImpl()
           
 void setLatch(CountDownLatch latch)
           
 void setLogger(Logger log)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConcurrentTask

public ConcurrentTask()
Method Detail

setLatch

public void setLatch(CountDownLatch latch)

setLogger

public void setLogger(Logger log)

run

public final void run()
Specified by:
run in interface Runnable

isException

public boolean isException()

getException

public Exception getException()

runImpl

protected abstract void runImpl()


Copyright © 2014 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.