Package | Description |
---|---|
com.communote.server.api.core.task | |
com.communote.server.core.tasks |
Modifier and Type | Method and Description |
---|---|
void |
TaskManagement.removeTask(String uniqueTaskName)
Remove a task if it is not RUNNING.
|
Long |
TaskManagement.startTaskExecution(String uniqueTaskName)
Mark a task as running on this instance by creating an execution for it and setting the
status to RUNNING.
|
Long |
TaskManagement.startTaskExecutionTx(String uniqueTaskName)
Same as
TaskManagement.startTaskExecution(String) but can throw
DatabaseIntegrityViolationException. |
Modifier and Type | Method and Description |
---|---|
void |
TaskManagementImpl.removeTask(String uniqueTaskName) |
Long |
TaskManagementImpl.startTaskExecution(String uniqueTaskName) |
Long |
TaskManagementImpl.startTaskExecutionTx(String uniqueTaskName) |
Copyright © 2019 Communote team. All rights reserved.