public interface Executions
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME |
Modifier and Type | Method and Description |
---|---|
void |
cancelExecution(java.util.UUID userSessionId,
java.lang.String group,
java.lang.String key)
Cancel execution context:
- cancel all resources with context.
|
void |
endExecution()
INTERNAL
End execution context for the current thread.
|
ExecutionContext |
getCurrentContext()
INTERNAL
|
ExecutionContext |
startExecution(java.lang.String key,
java.lang.String group)
INTERNAL
Start execution context for the current thread.
|
static final java.lang.String NAME
ExecutionContext startExecution(java.lang.String key, java.lang.String group)
key
- - unique identifier of executiongroup
- - group is used for grouping execution by type.
E.g. group 'Reporting' is used for all reporting
module executionsvoid endExecution()
void cancelExecution(java.util.UUID userSessionId, java.lang.String group, java.lang.String key)
userSessionId
- - user session in that started execution contextgroup
- - group of started execution contextkey
- - key of started execution contextExecutionContext getCurrentContext()