Review this Java money-transfer method.
This runs on many threads; transfers go in both directions between the same accounts.