March 2003
Intermediate to advanced
912 pages
27h 17m
English
Figure 19.4 shows the example of an abstract data object (a bank account) which we used in Section 17.5. We now use the same example to study serializability. Each data object has an associated set of operations, in this case:
create a new account;
delete an existing account;
read-balance takes an account name as argument and returns the balance of the account;
check-balance takes an account name and a value as arguments and returns true if the balance of the account is greater than or equal to the argument value, else it returns false;
credit takes an account name and a value as arguments and adds the argument value to the balance. Note that the value of the balance is not output to the client;
debit ...