public abstract class RunnableActivity extends HabaneroActivity
executionException, launchedFinishState, listenerList, rootFinishState
Modifier | Constructor and Description |
---|---|
protected |
RunnableActivity(String activityName,
HjPlace hjPlace)
Constructor for HabaneroActivity.
|
Modifier and Type | Method and Description |
---|---|
protected static RunnableActivity |
availableActivity() |
protected void |
checkSuspendableOperation()
Validates the use of a suspendable operation by this activity.
|
protected boolean |
completedExecution()
Return true if the task completed execution, else return false if the task was suspended.
|
protected static void |
enqueueActivity(RunnableActivity activity) |
abstract void |
executeBody()
This method represents the body of the task.
|
void |
executeBodyGuarded() |
protected void |
executeTask() |
void |
prepareToRunInFinish()
prepareToRunInFinish.
|
protected boolean |
shouldBypassExecution()
Returns true if the activity should be skipped as it has already been executed.
|
currentFinishState, finalizeActivitySpawn, finalizeTermination, finalizeTermination, finalizeTerminationCleanup, handleException, id, join, name, newFinishState, notifyActivitySpawn, notifyResumption, notifySuspension, place, pushException, registerListener, retrieveTargetFinishState, run, setRootActivityFinishState, startFinish, stopFinish, toString
protected static RunnableActivity availableActivity()
protected static void enqueueActivity(RunnableActivity activity)
protected void checkSuspendableOperation()
checkSuspendableOperation
in class HabaneroActivity
protected final boolean shouldBypassExecution()
shouldBypassExecution
in class HabaneroActivity
public final void prepareToRunInFinish()
prepareToRunInFinish.
prepareToRunInFinish
in class HabaneroActivity
protected void executeTask()
executeTask
in class HabaneroActivity
public final void executeBodyGuarded()
public abstract void executeBody()
protected boolean completedExecution()
HabaneroActivity
completedExecution
in class HabaneroActivity
Copyright © 2015 Rice University - Department of Computer Science. All rights reserved.