public static interface InvocationStrategy.SuspendableInvocationStrategy
Modifier and Type | Interface and Description |
---|---|
static class |
InvocationStrategy.SuspendableInvocationStrategy.AbstractSuspendableStrategy |
static class |
InvocationStrategy.SuspendableInvocationStrategy.AsyncInFinishStrategy
Run Hj activity in finish invocation strategy implementation.
|
static class |
InvocationStrategy.SuspendableInvocationStrategy.CompleteFinishStrategy
Run Hj activity in finish invocation strategy implementation.
|
static class |
InvocationStrategy.SuspendableInvocationStrategy.DefaultStrategy
Default Hj activity invocation strategy implementation.
|
Modifier and Type | Field and Description |
---|---|
static InvocationStrategy.SuspendableInvocationStrategy |
ASYNC_DEFAULT
Singleton representing the default strategy to invoke an Hj activity.
|
static InvocationStrategy.SuspendableInvocationStrategy |
ASYNC_IN_FINISH
Singleton representing a strategy to invoke an HJ activity in a finish.
|
static InvocationStrategy.SuspendableInvocationStrategy |
COMPLETE_FINISH |
Modifier and Type | Method and Description |
---|---|
CoroutineProto |
createCoroutineProto(SuspendableActivity activityToInvoke) |
void |
executeTask(SuspendableActivity activityToInvoke)
This method implements the strategy used to invoke Hj activities.
|
static final InvocationStrategy.SuspendableInvocationStrategy ASYNC_DEFAULT
static final InvocationStrategy.SuspendableInvocationStrategy ASYNC_IN_FINISH
static final InvocationStrategy.SuspendableInvocationStrategy COMPLETE_FINISH
CoroutineProto createCoroutineProto(SuspendableActivity activityToInvoke)
void executeTask(SuspendableActivity activityToInvoke)
SuspendableException
in the current version, it may change in the futureNb.activityToInvoke
- Hj activity to invoke.Copyright © 2015 Rice University - Department of Computer Science. All rights reserved.