| Package | Description |
|---|---|
| com.sapportals.wcm.service.taskqueue |
Provides interfaces to write or read
tasks in
a platform-wide queue and to monitor their status. |
| Modifier and Type | Field and Description |
|---|---|
static TaskState |
TaskState.ACTIVE
A task fetched from the task queue is set to this state by the task queue
service.
|
static TaskState |
TaskState.DONE
A processor that sucessfully finished the task sets this state.
|
static TaskState |
TaskState.ERROR
A processor that failed to execute this tasks sets this state.
|
static TaskState |
TaskState.NEW
A task added to the task queue is set to this state.
|
| Modifier and Type | Method and Description |
|---|---|
TaskState |
ITask.getState()
The current state of this task.
|
static TaskState |
TaskState.getTaskState(int state)
Converts a task state string representation to a task state object
|
| Modifier and Type | Method and Description |
|---|---|
ITaskQueueIterator |
ITaskQueueService.monitorTaskQueue(TaskState state)
Returns an iterator for tasks that have task state
state . |
void |
ITaskQueueWriter.setState(ITask task,
TaskState state)
Sets the task's state to a new
state . |
void |
ITaskQueueReader.setState(ITask task,
TaskState state)
Sets the task's state to a new state .
|
Copyright 2021 SAP SE Complete Copyright Notice