Appendix { the Workkow Program 5 Conclusions and Future Work 4.1 Data Structures

نویسندگان

  • Naser Barghouti
  • Joan Peckham
چکیده

//Suppose that the following functions have been defined that make (or cancel) the appropriate // reservations. The last two functions respectively compensate for the first two functions. if (wait(self())) abort(t);g int X_conference() f tid t1, t2, t3, t4, t5, t6; Airline* air; t1 = initiate(flight_reservation, "Delta", "6/11/1994", "6/14/94"); begin (t1); if (!commit(t1)) f t2 = initiate(flight_reservation, "United", "6/11/1994", "6/14/94"); begin (t2); if (!commit(t2)) f t3 = initiate(flight_reservation, "American", "6/11/1994", "6/14/94"); begin (t3); if (!commit(t3)) return 0; // Activity Failed else air = "American";g else air = "United";g else air = "Delta"; // Flight reservation has been made at this point t4 = initiate(hotel_reservation, "Equator", "6/11/1994", "6/14/94"); begin(t4); if (!commit(t4)) f do ft5 = initiate(cancel_flight_reservation, air, "6/11/1994", "6/14/94"); begin(t5);g while (!commit(t5)); // Compensate for the flight reservation already made return 0;g // At this point, hotel and flight reservations have both been made t5 = initiate(car_reservation, "National", "6/11/1994", "6/14/94"); begin(t5); t6 = initiate(exclusive_car_reservation, "Avis", "6/11/1994", "6/14/94", t5); begin(t6); if (wait(t5)) f // Whichever of t5, t6 completes first wins abort(t6); commit(t5);g else commit(t6); return 1; // Activity has completed successfully g execution of these transactions. Even though the functions associated with transactions in our work may appear to be similar in concept to steps, transaction management primitives can be invoked from within our functions. Contract scripts introduce their own control ow syntax, while our approach uses the control ow syntax of the host language (e.g., O++) and only introduces a small set of transaction management primitives. As with contracts, ASSET allows explicit dependencies between transactions to be expressed using the form dependency primitive. One of our future goals is to develop further the underlying transaction management system of ASSET to exploit the concurrency semantics inherent in objects 10]. This will take advantage of the semantics of objects in an object-oriented database, by considering the compatibility of class speciic operations (methods). We believe that many operations in an object-oriented database may commute. For example, operations to increase an existing employee's salary and to add a new employee to a department commute. Also, operations on an object commute provided they operate on diierent parts of the object. For example, operations that update an employee's salary and change the employee's department commute. Hence, we would like to capitalize on the semantics of objects in an object-oriented database, by taking into account the compatibility of class speciic operations (methods). Concepts and mechanisms from Multi-level transactions …

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Performance Measurement of Distributed Systems

............................................................... 2 Acktlowledgements ................................................... 2 1. futroduction ...................................... .................. . 3 2. A Model of System Performance ................................ 5 2.1 The Distributed System ................................. 5 2.2 User Behaviour ..................................

متن کامل

Research Issues in Workkow Systems

Recent recession has compelled many companies to nd more eeective ways to conduct their business. One remedy suggested is to model organizational dynamics as \business processes" and provide a suitable tool support for this. In this context the buzzwords business process re-engineering and workkow have been often quoted. The basic idea in this thinking is to view the functioning of an organizat...

متن کامل

Transactions in Transactional

Workkow management systems (WFMSs) are nding wide applicability in small and large organizational settings. Advanced transaction models (ATMs) focus on maintaining data consistency and have provided solutions to many problems such as correctness, consistency, and reliability in transaction processing and database management environments. While such concepts have yet to be solved in the domain o...

متن کامل

‘Multi View Graphing’: Synchronous Linked Multi Visualization utilising Brushing, Binning and Clustering

................................................................................................................................ 1 Declaration ............................................................................................................................ 2 Copyright ........................................................................................................................

متن کامل

Functionality and Limitations of Current Workkow Management Systems

Workkow systems hold the promise of facilitating the everyday operation of many enterprises and work environments. As a result, many commercial workkow management systems have been developed. These systems, although useful, do not scale well, have limited fault-tolerance, and are innexible in terms of interoperating with other workkow systems. In this paper, we discuss the limitations of contem...

متن کامل

بررسی فراوانی و پیش آگهی تومور کار سینوئید آپاندیس در آپاند کتومی های انجام شده در بیمارستان شهدای عشایر خرم آباد طی سالهای 1384-1379

Appendix carcinoid tumors are of rare cases. Their commonest place is in digestive system in appendix intensine and rectom respectively. They have no symptoms and they are detected along with laparotomy or inflation in appendix. The aim of the present study was to determine the frequency of carcinoid tumor in appendix and its prognosis in a period of 3 to 8 years in Shohada hospital in khorram...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1994