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.
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 Service factory for the service of this package.
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.



Copyright 2006 SAP AG. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice. Microsoft, Windows, Outlook, and PowerPoint are registered trademarks of Microsoft Corporation. Oracle is a registered trademark of Oracle Corporation. UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group. Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are trademarks or registered trademarks of Citrix Systems, Inc. HTML, XML, XHTML and W3C are trademarks or registered trademarks of W3C, World Wide Web Consortium, Massachusetts Institute of Technology. Java is a registered trademark of Sun Microsystems, Inc. JavaScript is a registered trademark of Sun Microsystems, Inc., used under license for technology invented and implemented by Netscape. MaxDB is a trademark of MySQL AB, Sweden. 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.