added - "#### acquireUsingLocked()"

This commit is contained in:
Rob Austin
2014-12-21 09:21:45 +00:00
parent 493582ef6d
commit cb850f03a8
+2
View File
@@ -576,6 +576,8 @@ V acquireUsing(key,value) {
`acquireUsing(key,value)` offers this functionality from a single method call, reducing the hash
look-ups and making your code run slightly faster.
#### acquireUsingLocked()
If you are only accessing ChronicleMap from a single thread. If you are not doing replication
and don't care about atomic reads. Then its simpler ( and faster ) to use acquireUsing() otherwise we
recommend you use `acquireUsingLocked(key,value)`