| Package | Description |
|---|---|
| edu.rice.hj.runtime.actors |
The base package for the habanero-java actors support.
|
| edu.rice.hj.runtime.forkjoin |
The base package for a fork-join based parallel implementation of the HJ runtime.
|
| edu.rice.hj.runtime.metrics |
The base package for the habanero-java abstract metrics.
|
| edu.rice.hj.runtime.phasers |
The base package for the habanero-java phaser support.
|
| Modifier and Type | Class and Description |
|---|---|
class |
LingeringBlockingActivity
A concrete implementation of a @see BlockingActivity which delays its execution
by claiming not to be ready until forced to be ready.
|
class |
RunnableBlockingActivity
A concrete implementation of a @see BlockingActivity
which accepts a runnable block to execute.
|
| Modifier and Type | Method and Description |
|---|---|
BlockingActivity |
LingeringBlockingActivity.finalizeActivitySpawn(BlockingActivity childActivity)
finalizeActivitySpawn.
|
static BlockingActivity |
ActorRuntimeHelper.newRunnableActivity(LingeringActivity parentActivity,
String name,
Runnable runnable)
newRunnableActivity.
|
| Modifier and Type | Method and Description |
|---|---|
BlockingActivity |
LingeringBlockingActivity.finalizeActivitySpawn(BlockingActivity childActivity)
finalizeActivitySpawn.
|
void |
LingeringBlockingActivity.finalizeActorActivitySpawn(BlockingActivity child)
finalizeActorActivitySpawn.
|
void |
LingeringActivity.finalizeActorActivitySpawn(BlockingActivity child)
finalizeActorActivitySpawn.
|
| Constructor and Description |
|---|
ResumableTask(BlockingActivity pActivity)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static BlockingActivity |
BlockingActivity.adapt(String activityName,
HjRunnable runnable)
adapt.
|
BlockingActivity |
ForkJoinThread.currentActivity()
currentActivity.
|
BlockingActivity |
ForkJoinRuntime.currentActivity()
Returns The currently executing activity.
|
static BlockingActivity |
ForkJoinRuntime.currentBlockingActivity()
currentBlockingActivity.
|
BlockingActivity |
BlockingActivity.finalizeActivitySpawn(BlockingActivity childActivity)
finalizeActivitySpawn.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ForkJoinThread.currentActivity(BlockingActivity newCurrentActivity)
currentActivity.
|
void |
InvocationStrategy.executeTask(BlockingActivity activityToInvoke)
This method implements the strategy used to invoke Hj activities.
|
void |
InvocationStrategy.DefaultStrategy.executeTask(BlockingActivity activityToInvoke) |
void |
InvocationStrategy.AsyncInFinishStrategy.executeTask(BlockingActivity activityToInvoke) |
void |
InvocationStrategy.AsyncInNonHjThreadStrategy.executeTask(BlockingActivity activityToInvoke) |
BlockingActivity |
BlockingActivity.finalizeActivitySpawn(BlockingActivity childActivity)
finalizeActivitySpawn.
|
protected void |
BlockingActivity.notifyActivitySpawn(BlockingActivity childActivity)
notifyActivitySpawn.
|
void |
DeadlockTracker.onActivityEnd(BlockingActivity activity,
BlockingFinishState finishState)
Call back for when the event ends execution.
|
void |
ActivityListeners.ActivityListener.onActivityEnd(BlockingActivity activity,
BlockingFinishState finishState)
Call back for when the event ends execution.
|
void |
ActivityListeners.ActivityListenerList.onActivityEnd(BlockingActivity activity,
BlockingFinishState finishState) |
void |
DeadlockTracker.onActivityResume(BlockingActivity activity)
Call back for when the event execution is resumed.
|
void |
ActivityListeners.ActivityListener.onActivityResume(BlockingActivity activity)
Call back for when the event execution is resumed.
|
void |
ActivityListeners.ActivityListenerList.onActivityResume(BlockingActivity activity) |
void |
DeadlockTracker.onActivitySpawn(BlockingActivity parentActivity,
BlockingActivity childActivity)
Call back for when the event ends execution.
|
void |
ActivityListeners.ActivityListener.onActivitySpawn(BlockingActivity parentActivity,
BlockingActivity childActivity)
Call back for when the event ends execution.
|
void |
ActivityListeners.ActivityListenerList.onActivitySpawn(BlockingActivity parentActivity,
BlockingActivity childActivity) |
void |
DeadlockTracker.onActivityStart(BlockingActivity activity)
Call back for when the event starts execution.
|
void |
ActivityListeners.ActivityListener.onActivityStart(BlockingActivity activity)
Call back for when the event starts execution.
|
void |
ActivityListeners.ActivityListenerList.onActivityStart(BlockingActivity activity) |
void |
DeadlockTracker.onActivitySuspend(BlockingActivity activity)
Call back for when the event execution is suspended.
|
void |
ActivityListeners.ActivityListener.onActivitySuspend(BlockingActivity activity)
Call back for when the event execution is suspended.
|
void |
ActivityListeners.ActivityListenerList.onActivitySuspend(BlockingActivity activity) |
void |
DeadlockTracker.onFinishScopeStart(BlockingActivity activity,
BlockingFinishState finishState) |
void |
ActivityListeners.ActivityListener.onFinishScopeStart(BlockingActivity activity,
BlockingFinishState finishState) |
void |
ActivityListeners.ActivityListenerList.onFinishScopeStart(BlockingActivity activity,
BlockingFinishState finishState) |
void |
DeadlockTracker.onPostFinishScopeEnd(BlockingActivity activity,
BlockingFinishState finishState) |
void |
ActivityListeners.ActivityListener.onPostFinishScopeEnd(BlockingActivity activity,
BlockingFinishState finishState) |
void |
ActivityListeners.ActivityListenerList.onPostFinishScopeEnd(BlockingActivity activity,
BlockingFinishState finishState) |
void |
DeadlockTracker.onPreFinishScopeEnd(BlockingActivity activity,
BlockingFinishState finishState) |
void |
ActivityListeners.ActivityListener.onPreFinishScopeEnd(BlockingActivity activity,
BlockingFinishState finishState) |
void |
ActivityListeners.ActivityListenerList.onPreFinishScopeEnd(BlockingActivity activity,
BlockingFinishState finishState) |
void |
ForkJoinRuntime.registerListenerForMetrics(BlockingActivity blockingActivity)
registerListenerForMetrics.
|
protected void |
ForkJoinRuntime.scheduleActivity(BlockingActivity activity)
Schedule an activity to the thread pool service
|
void |
DeadlockTracker.updateActivityFromCompanion(BlockingActivity activity,
CompanionMetrics companionMetrics) |
void |
ActivityListeners.ActivityListener.updateActivityFromCompanion(BlockingActivity activity,
CompanionMetrics companionMetrics) |
void |
ActivityListeners.ActivityListenerList.updateActivityFromCompanion(BlockingActivity activity,
CompanionMetrics companionMetrics) |
void |
DeadlockTracker.updateCompanionFromActivity(BlockingActivity activity,
CompanionMetrics companionMetrics) |
void |
ActivityListeners.ActivityListener.updateCompanionFromActivity(BlockingActivity activity,
CompanionMetrics companionMetrics) |
void |
ActivityListeners.ActivityListenerList.updateCompanionFromActivity(BlockingActivity activity,
CompanionMetrics companionMetrics) |
| Modifier and Type | Method and Description |
|---|---|
HjMetrics |
AbstractMetricsManager.computeMetrics(BlockingActivity currentActivity)
computeMetrics.
|
void |
AbstractMetricsManager.onActivityEnd(BlockingActivity activity,
BlockingFinishState finishState)
Call back for when the event ends execution.
|
void |
AbstractMetricsManager.onActivityResume(BlockingActivity activity)
Call back for when the event execution is resumed.
|
void |
AbstractMetricsManager.onActivitySpawn(BlockingActivity parentActivity,
BlockingActivity childActivity)
Call back for when the event ends execution.
|
void |
AbstractMetricsManager.onActivityStart(BlockingActivity activity)
Call back for when the event starts execution.
|
void |
AbstractMetricsManager.onActivitySuspend(BlockingActivity activity)
Call back for when the event execution is suspended.
|
void |
AbstractMetricsManager.onFinishScopeStart(BlockingActivity activity,
BlockingFinishState finishState) |
void |
AbstractMetricsManager.onPostFinishScopeEnd(BlockingActivity activity,
BlockingFinishState finishState) |
void |
AbstractMetricsManager.onPreFinishScopeEnd(BlockingActivity activity,
BlockingFinishState finishState) |
void |
AbstractMetricsManager.updateActivityFromCompanion(BlockingActivity activity,
CompanionMetrics companionMetrics) |
void |
AbstractMetricsManager.updateCompanionFromActivity(BlockingActivity activity,
CompanionMetrics companionMetrics) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
BlockingPhaserManager.deregisterPhasers(BlockingActivity activity)
deregisterPhasers.
|
void |
PhaserManager.doNext(BlockingActivity activity)
Performs a next operation with the given activity.
|
void |
BlockingPhaserManager.doNext(BlockingActivity activity)
Performs a next operation with the given activity.
|
protected int |
BlockingPhaserManager.doNextSinglePhase1(BlockingActivity activity,
String loc)
doNextSinglePhase1.
|
protected void |
BlockingPhaserManager.doNextSinglePhase2(BlockingActivity activity)
doNextSinglePhase2.
|
void |
PhaserManager.doSignal(BlockingActivity activity)
Performs a phaser signal operation with the given activity.
|
void |
BlockingPhaserManager.doSignal(BlockingActivity activity)
Performs a phaser signal operation with the given activity.
|
void |
PhaserManager.doSignal(BlockingActivity activity,
InternalPhaser phaser)
Performs a signal operation with the given activity.
|
void |
BlockingPhaserManager.doSignal(BlockingActivity activity,
InternalPhaser phaser)
Performs a signal operation with the given activity.
|
void |
PhaserManager.doWait(BlockingActivity activity)
Performs a phaser wait operation with the given activity.
|
void |
BlockingPhaserManager.doWait(BlockingActivity activity)
Performs a phaser wait operation with the given activity.
|
void |
PhaserManager.doWait(BlockingActivity activity,
InternalPhaser phaser)
Performs a wait operation with the given activity.
|
void |
BlockingPhaserManager.doWait(BlockingActivity activity,
InternalPhaser phaser)
Performs a wait operation with the given activity.
|
boolean |
PhaserManager.doWaitForNextSinglePhase1(BlockingActivity activity,
InternalPhaser phaser,
String loc)
Performs the first stage wait operation with the given activity in next-with-signal mode.
|
boolean |
BlockingPhaserManager.doWaitForNextSinglePhase1(BlockingActivity activity,
InternalPhaser phaser,
String loc)
Performs the first stage wait operation with the given activity in next-with-signal mode.
|
void |
PhaserManager.doWaitForNextSinglePhase2(BlockingActivity activity,
InternalPhaser phaser)
Performs the second stage wait operation with the given activity in next-with-signal mode.
|
void |
BlockingPhaserManager.doWaitForNextSinglePhase2(BlockingActivity activity,
InternalPhaser phaser)
Performs the second stage wait operation with the given activity in next-with-signal mode.
|
boolean |
PhaserManager.dropPhaser(BlockingActivity activity,
InternalPhaser phaser)
Drops the phaser registered with an activity.
|
boolean |
BlockingPhaserManager.dropPhaser(BlockingActivity activity,
InternalPhaser phaser)
Drops the phaser registered with an activity.
|
int |
PhaserManager.getSigPhase(BlockingActivity activity,
InternalPhaser phaser)
getSigPhase.
|
int |
BlockingPhaserManager.getSigPhase(BlockingActivity activity,
InternalPhaser phaser)
getSigPhase.
|
int |
PhaserManager.getWaitPhase(BlockingActivity activity,
InternalPhaser phaser)
getWaitPhase.
|
int |
BlockingPhaserManager.getWaitPhase(BlockingActivity activity,
InternalPhaser phaser)
getWaitPhase.
|
void |
PhaserManager.inheritPhasers(BlockingActivity parentActivity,
BlockingActivity childActivity)
Registers a phaser to the specified activity.
|
void |
BlockingPhaserManager.inheritPhasers(BlockingActivity parentActivity,
BlockingActivity childActivity)
Registers a phaser to the specified activity.
|
void |
BlockingPhaserManager.onActivityEnd(BlockingActivity activity,
BlockingFinishState finishState)
Call back for when the event ends execution.
|
void |
BlockingPhaserManager.onActivityResume(BlockingActivity activity)
Call back for when the event execution is resumed.
|
void |
BlockingPhaserManager.onActivitySpawn(BlockingActivity parentActivity,
BlockingActivity childActivity)
Call back for when the event ends execution.
|
void |
BlockingPhaserManager.onActivityStart(BlockingActivity activity)
Call back for when the event starts execution.
|
void |
BlockingPhaserManager.onActivitySuspend(BlockingActivity activity)
Call back for when the event execution is suspended.
|
void |
BlockingPhaserManager.onFinishScopeStart(BlockingActivity activity,
BlockingFinishState finishState) |
void |
BlockingPhaserManager.onPostFinishScopeEnd(BlockingActivity activity,
BlockingFinishState finishState) |
void |
BlockingPhaserManager.onPreFinishScopeEnd(BlockingActivity activity,
BlockingFinishState finishState) |
HjPhaserMode |
PhaserManager.phaserMode(BlockingActivity activity,
InternalPhaser phaser)
phaserMode.
|
HjPhaserMode |
BlockingPhaserManager.phaserMode(BlockingActivity activity,
InternalPhaser phaser)
phaserMode.
|
void |
PhaserManager.register(BlockingActivity parentActivity,
BlockingActivity childActivity,
InternalPhaser phaser,
HjPhaserMode phaserMode)
register.
|
void |
BlockingPhaserManager.register(BlockingActivity parentActivity,
BlockingActivity childActivity,
InternalPhaser phaser,
HjPhaserMode phaserMode)
register.
|
void |
InternalPhaser.register(BlockingActivity activity,
HjPhaserMode mode)
register.
|
void |
BlockingPhaser.register(BlockingActivity activity,
HjPhaserMode mode)
register.
|
boolean |
PhaserManager.registered(BlockingActivity activity,
InternalPhaser phaser)
registered.
|
boolean |
BlockingPhaserManager.registered(BlockingActivity activity,
InternalPhaser phaser)
registered.
|
void |
PhaserManager.registerPhaserToIEF(BlockingActivity activity,
InternalPhaser phaser)
Registers a phaser to the immediately enclosing finish defined by the activity.
|
void |
BlockingPhaserManager.registerPhaserToIEF(BlockingActivity activity,
InternalPhaser phaser)
Registers a phaser to the immediately enclosing finish defined by the activity.
|
protected void |
BlockingPhaserManager.resume(BlockingActivity activity,
InternalPhaser phaser,
boolean newValue)
resume.
|
boolean |
PhaserManager.resumed(BlockingActivity activity,
InternalPhaser phaser)
resumed.
|
boolean |
BlockingPhaserManager.resumed(BlockingActivity activity,
InternalPhaser phaser)
resumed.
|
void |
BlockingPhaserManager.updateActivityFromCompanion(BlockingActivity activity,
CompanionMetrics companionMetrics) |
void |
BlockingPhaserManager.updateCompanionFromActivity(BlockingActivity activity,
CompanionMetrics companionMetrics) |
Copyright © 2014 Rice University - Department of Computer Science. All rights reserved.