public abstract class ExecutionLock extends Object implements Closeable
| Modifier and Type | Class and Description |
|---|---|
static class |
ExecutionLock.Scope
Represents lock scope.
|
| Modifier and Type | Field and Description |
|---|---|
static ExecutionLock |
NULL
Null implementation of
ExecutionLock. |
| Constructor and Description |
|---|
ExecutionLock() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
beginFlow(String flowId,
String executionId)
Begin to process a flow using this lock.
|
abstract void |
endFlow(String flowId,
String executionId)
End to process a flow using this lock.
|
public static final ExecutionLock NULL
ExecutionLock.public abstract void beginFlow(String flowId, String executionId) throws IOException
flowId - target flow IDexecutionId - target execution IDIOException - if failed to operateIllegalArgumentException - if some parameters were nullpublic abstract void endFlow(String flowId, String executionId) throws IOException
flowId - target flow IDexecutionId - target execution IDIOException - if failed to operateIllegalArgumentException - if some parameters were nullCopyright © 2011–2018 Asakusa Framework Team. All rights reserved.