Package | Description |
---|---|
edu.rice.hj |
The base package for all habanero-java related items.
|
edu.rice.hj.api |
The base package for all Habanero-Java API.
|
edu.rice.hj.experimental | |
edu.rice.hj.runtime.baseruntime | |
edu.rice.hj.runtime.javafj | |
edu.rice.hj.runtime.sequential |
The base package for a sequential implementation of the HJ runtime.
|
Modifier and Type | Method and Description |
---|---|
static <V> HjFuture<V> |
Module0.futureNb(HjCallable<V> callable)
Construct to create an asynchronous task that returns a result which will be available in the futureNb.
|
static <T,V> HjFuture<V> |
Module0.futureNbAwait(HjFuture<T> f1,
HjCallable<V> callable)
futureNbAwait.
|
static <T,V> HjFuture<V> |
Module0.futureNbAwait(HjFuture<T> f1,
HjFuture<T> f2,
HjCallable<V> callable)
futureNbAwait.
|
static <T,V> HjFuture<V> |
Module0.futureNbAwait(HjFuture<T> f1,
HjFuture<T> f2,
HjFuture<T> f3,
HjCallable<V> callable)
futureNbAwait.
|
static <T,V> HjFuture<V> |
Module0.futureNbAwait(List<HjFuture<T>> dependences,
HjCallable<V> callable)
futureNbAwait.
|
static <V> HjFuture<V> |
Module0.futureNbSeq(boolean sequentialize,
HjCallable<V> callable)
Construct to create an asynchronous task that returns a result which will be available in the future.
|
static <V> HjFuture<V> |
Module0.futureNbSeq(boolean sequentialize,
HjCallable<V> seqCallable,
HjCallable<V> parCallable)
Similar to the regular
Module0.futureNb(edu.rice.hj.api.HjCallable) except that the boolean
condition is used as a tuning parameter to determine if the future should just be executed sequentially (when the
condition is true) in the parent task. |
static <V> HjFuture<V> |
Module0.futureNbSeq(boolean sequentialize,
HjCallable<V> seqCallable,
HjCallable<V> parCallable)
Similar to the regular
Module0.futureNb(edu.rice.hj.api.HjCallable) except that the boolean
condition is used as a tuning parameter to determine if the future should just be executed sequentially (when the
condition is true) in the parent task. |
static <V> V |
Module2.isolatedWithReturn(HjCallable<V> callable)
variant for
isolated when the critical section needs to return a value. |
static <V> V |
Module2.isolatedWithReturn(Object[] participants,
HjCallable<V> callable)
variant for
isolated when the critical section needs to return a value. |
static <V> V |
Module2.isolatedWithReturn(Object participant1,
HjCallable<V> callable)
variant for
isolated when the critical section needs to return a value. |
static <V> V |
Module2.isolatedWithReturn(Object participant1,
Object participant2,
HjCallable<V> callable)
variant for
isolated when the critical section needs to return a value. |
static <V> V |
Module2.isolatedWithReturn(Object participant1,
Object participant2,
Object participant3,
HjCallable<V> callable)
variant for
isolated when the critical section needs to return a value. |
Modifier and Type | Method and Description |
---|---|
<T,V> HjFuture<V> |
HjRuntime.futureAwait(List<HjFuture<T>> dependencies,
HjCallable<V> callable)
Equivalent of
HjRuntime.asyncAwait(java.util.List, HjRunnable) which returns a futureNb. |
<V> HjFuture<V> |
HjRuntime.futureSeq(boolean sequentialize,
HjCallable<V> callable)
Creates an asynchronous task and returns the futureNb object representing the value of the computation.
|
<V> HjFuture<V> |
HjRuntime.futureWhen(HjExpression.HjAwaitExpression expression,
HjCallable<V> callable)
Mechanism to create an asynchronous task where the await expression is designed to coordinate relationships of
this parallel tasks with other tasks (using the
HjFuture handles. |
<V> V |
HjRuntime.isolatedWithReturn(HjCallable<V> callable)
isolatedWithReturn.
|
<V> V |
HjRuntime.isolatedWithReturn(Object[] participants,
HjCallable<V> callable)
isolatedWithReturn.
|
<V> V |
HjRuntime.isolatedWithReturn(Object participant,
HjCallable<V> callable)
isolatedWithReturn.
|
Modifier and Type | Method and Description |
---|---|
static <V> HjFuture<V> |
ModuleZ.futureWhen(HjExpression.HjAwaitExpression expression,
HjCallable<V> runnable)
Mechanism to create an asynchronous task where the await expression is designed to coordinate relationships of
this parallel tasks with other tasks (using the
HjFuture handles. |
static <V> HjFuture<V> |
ModuleZ.futureWhen(HjExpression.HjBooleanExpression expression,
HjCallable<V> runnable)
Mechanism to create an asynchronous task where the await expression is designed to coordinate relationships of
this parallel tasks with other tasks (using the
HjFuture handles. |
static <V> HjFuture<V> |
ModuleZ.futureWhen(HjFuture<?> future,
HjCallable<V> runnable)
Mechanism to create an asynchronous task where the await expression is designed to coordinate relationships of
this parallel tasks with other tasks (using the
HjFuture handles. |
Modifier and Type | Method and Description |
---|---|
<T,V> HjFuture<V> |
BaseRuntime.futureAwait(List<HjFuture<T>> dependencies,
HjCallable<V> callable)
Equivalent of
HjRuntime.asyncAwait(java.util.List, HjRunnable) which returns a futureNb. |
<V> HjFuture<V> |
BaseRuntime.futureSeq(boolean sequentialize,
HjCallable<V> callable)
Creates an asynchronous task and returns the futureNb object representing the value of the computation.
|
<V> HjFuture<V> |
BaseRuntime.futureWhen(HjExpression.HjAwaitExpression expression,
HjCallable<V> hjCallable)
Mechanism to create an asynchronous task where the await expression is designed to coordinate relationships of
this parallel tasks with other tasks (using the
HjFuture handles. |
<V> V |
BaseRuntime.isolatedWithReturn(HjCallable<V> callable)
isolatedWithReturn.
|
<V> V |
BaseRuntime.isolatedWithReturn(Object[] participants,
HjCallable<V> callable)
isolatedWithReturn.
|
<V> V |
BaseRuntime.isolatedWithReturn(Object participant,
HjCallable<V> callable)
isolatedWithReturn.
|
Modifier and Type | Method and Description |
---|---|
<T,V> HjFuture<V> |
JavaForkJoinRuntime.futureAwait(List<HjFuture<T>> dependencies,
HjCallable<V> callable)
Equivalent of
HjRuntime.asyncAwait(java.util.List, HjRunnable) which returns a futureNb. |
<V> HjFuture<V> |
JavaForkJoinRuntime.futureSeq(boolean sequentialize,
HjCallable<V> callable)
Creates an asynchronous task and returns the futureNb object representing the value of the computation.
|
<V> HjFuture<V> |
JavaForkJoinRuntime.futureWhen(HjExpression.HjAwaitExpression expression,
HjCallable<V> callable)
Mechanism to create an asynchronous task where the await expression is designed to coordinate relationships of
this parallel tasks with other tasks (using the
HjFuture handles. |
<V> V |
JavaForkJoinRuntime.isolatedWithReturn(HjCallable<V> callable)
isolatedWithReturn.
|
<V> V |
JavaForkJoinRuntime.isolatedWithReturn(Object[] participants,
HjCallable<V> callable)
isolatedWithReturn.
|
<V> V |
JavaForkJoinRuntime.isolatedWithReturn(Object participant,
HjCallable<V> callable)
isolatedWithReturn.
|
Modifier and Type | Method and Description |
---|---|
<T,V> HjFuture<V> |
SequentialRuntime.futureAwait(List<HjFuture<T>> dependencies,
HjCallable<V> callable)
Equivalent of
HjRuntime.asyncAwait(java.util.List, HjRunnable) which returns a futureNb. |
<V> HjFuture<V> |
SequentialRuntime.futureSeq(boolean sequentialize,
HjCallable<V> callable)
Creates an asynchronous task and returns the futureNb object representing the value of the computation.
|
<V> HjFuture<V> |
SequentialRuntime.futureWhen(HjExpression.HjAwaitExpression expression,
HjCallable<V> callable)
Mechanism to create an asynchronous task where the await expression is designed to coordinate relationships of
this parallel tasks with other tasks (using the
HjFuture handles. |
<V> V |
SequentialRuntime.isolatedWithReturn(HjCallable<V> callable)
isolatedWithReturn.
|
<V> V |
SequentialRuntime.isolatedWithReturn(Object[] participants,
HjCallable<V> callable)
isolatedWithReturn.
|
<V> V |
SequentialRuntime.isolatedWithReturn(Object participant,
HjCallable<V> callable)
isolatedWithReturn.
|
Copyright © 2015 Rice University - Department of Computer Science. All rights reserved.