0.10.8-alpha
ca.uqac.lif.cep.FutureDone< T > Class Template Reference

A Future object indicating that the computation is completed. More...

Public Member Functions

 FutureDone (T value)
 
boolean cancel (boolean arg0)
 
get () throws InterruptedException, ExecutionException
 
get (long arg0, TimeUnit arg1) throws InterruptedException, ExecutionException, TimeoutException
 
boolean isCancelled ()
 
boolean isDone ()
 

Detailed Description

A Future object indicating that the computation is completed.

Author
Sylvain Hallé
Since
0.9
Parameters
<T>The type of the value returned by the computation

Definition at line 31 of file FutureDone.java.

Constructor & Destructor Documentation

◆ FutureDone()

Definition at line 35 of file FutureDone.java.

Member Function Documentation

◆ cancel()

boolean ca.uqac.lif.cep.FutureDone< T >.cancel ( boolean  arg0)

Definition at line 42 of file FutureDone.java.

◆ get() [1/2]

T ca.uqac.lif.cep.FutureDone< T >.get ( ) throws InterruptedException, ExecutionException

Definition at line 48 of file FutureDone.java.

◆ get() [2/2]

T ca.uqac.lif.cep.FutureDone< T >.get ( long  arg0,
TimeUnit  arg1 
) throws InterruptedException, ExecutionException, TimeoutException

Definition at line 54 of file FutureDone.java.

◆ isCancelled()

boolean ca.uqac.lif.cep.FutureDone< T >.isCancelled ( )

Definition at line 61 of file FutureDone.java.

◆ isDone()

boolean ca.uqac.lif.cep.FutureDone< T >.isDone ( )

Definition at line 67 of file FutureDone.java.


The documentation for this class was generated from the following file: