commit | ecac48caa9f68ce3f74cecf168dd05d7bbfa843e | [log] [tgz] |
---|---|---|
author | randgalt <randgalt@apache.org> | Fri May 23 10:46:17 2014 -0500 |
committer | randgalt <randgalt@apache.org> | Fri May 23 10:46:17 2014 -0500 |
tree | b36566d1f14bc806c0bc8b996c0f8f8cf7f4b4f0 | |
parent | 07db9f6c1c4593840cc9ed5188bf520e257d54d6 [diff] |
DistributedAtomicValues are initially in a "null" state (like a database). In this state, there's no good way currently to initialize it so that operations such as compareAndSet() work well. So, add a new method, initialize(), that sets a value if the node doesn't exist. This closes #8