| demo.bank.concurrency.AccountImpl
AccountImpl | public class AccountImpl extends AccountPOA (Code) | | |
Constructor Summary | |
public | AccountImpl(TransactionalLockSet lock_set, String name, float deposit, int id) |
AccountImpl | public AccountImpl(TransactionalLockSet lock_set, String name, float deposit, int id)(Code) | | |
account_code | public int account_code()(Code) | | |
commit | public synchronized void commit()(Code) | | |
commit_one_phase | public synchronized void commit_one_phase()(Code) | | |
credit | public synchronized void credit(float amount, Control control)(Code) | | |
debit | public synchronized void debit(float amount, Control control) throws InsufficientFunds(Code) | | |
forget | public synchronized void forget()(Code) | | |
get_balance | public synchronized float get_balance(Control control)(Code) | | |
get_lock_set | public TransactionalLockSet get_lock_set()(Code) | | |
prepare | public synchronized Vote prepare()(Code) | | |
rollback | public synchronized void rollback()(Code) | | |
|
|