SAP NetWeaver '04

Package com.sapportals.wcm.service.taskqueue

Provides interfaces to write or read tasks in a platform-wide queue and to monitor their status.

See:
          Description

Interface Summary
ITask Entry of a task queue.
ITaskQueue Priority queue for tasks.
ITaskQueueIterator An iterator for task queues. This iterator is similar to the ListIterator interface.
ITaskQueueReader A reader provides read-acces to a task queue belonging to a specific namespace.
ITaskQueueService The task queue is a base service for clustered systems.
ITaskQueueWriter A writer provides write-acces to a task queue belonging to a specific namespace.
 

Class Summary
TaskQueueServiceFactory The task queue service factory.
TaskState This class defines the identifiers for the different lifecycle states of a task in the task queue service.
 

Exception Summary
TaskQueueException An exception wrapper for the task queue service.
TaskStateTransitionException An excpetion that is raised on illegal task state tranistions.
 

Package com.sapportals.wcm.service.taskqueue Description

Provides interfaces to write or read tasks in a platform-wide queue and to monitor their status.

Package Specification

Purpose

The task queue is a base service for clustered systems. It provides interfaces to write and to read tasks in a platform-spreading queue and to monitor the tasks and (above all) their processing state.

Concepts

Access to the task queue is provided by a reader and a writer interface. This thin interfaces support the implementation of highly spezialised and customizable distributed services. (For example a service could implement a customized service writer as a wrapper of the task queue writer and a customized service daemon reader as a wrapper of the reader).

Reader and writer are assigned to a special namespace and a service user. A writer can only write tasks belonging to its namespace. A reader can only read task of its namespace. A namespace is a unique application identifier. This services provides support of different persistence layers. It is recommended to use the database persistence layer in production systems. File system and memory persistence layers are only recommended for testing to offer a high-performance test plattform with some restrictions.

Monitor

The monitor methods will return only a snapshot of the current task queue. For maintenance a remove method is provided to remove completly progressed or incorrectly aborted tasks from the queue.


SAP NetWeaver '04

Copyright © 2004 by SAP AG. All Rights Reserved.
SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary.

These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.