KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > java > util > concurrent > FutureTask

java.util.concurrent
Class FutureTask<V>

java.lang.Object
  extended by java.util.concurrent.FutureTask<V>
All Implemented Interfaces:
Runnable, Future<V>
See Also:
Executor, Callable

public boolean cancel(boolean mayInterruptIfRunning)
See Also:
V, Future
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void done()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public FutureTask(Runnable runnable,
                  V result)
See Also:
NullPointerException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public FutureTask(Callable<V> callable)
See Also:
NullPointerException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public V get()
      throws InterruptedException,
             ExecutionException
See Also:
Future
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public V get(long timeout,
             TimeUnit unit)
      throws InterruptedException,
             ExecutionException,
             TimeoutException
See Also:
Future
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean isCancelled()
See Also:
V, Future
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean isDone()
See Also:
V, Future
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void run()
See Also:
Runnable
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected boolean runAndReset()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void set(V v)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void setException(Throwable t)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags