commit | 1769a1ade3702bb940dcd42e3be263ffc1859a33 | [log] [tgz] |
---|---|---|
author | Madan Jampani <madan@onlab.us> | Wed Nov 19 21:51:44 2014 -0800 |
committer | Yuta Higuchi <y-higuchi@onlab.us> | Thu Nov 20 10:15:10 2014 -0800 |
tree | 546c46fab1c1ab0ebbdf3ceb290fad77f3f5b9d8 | |
parent | 1ec4166b62c37c5b6fbc814fb28c370eb272cda4 [diff] |
1. Adds a lockAsync method to LockService for async lock acquisition. 2. Fixes a bug where lock() wasn't attempting a tryLock before registering for lock avalilability. (Note 1 above is needed for LeadershipService which will come later) Change-Id: I1deaa445f7cdf86416b335df1d7358e17eff19c3