compareAndSet
Compare current value with expected and set to new if they're the same. Note, 'compare' is checking the actual object id, not 'equals'.
Compare current value with expected and set to new if they're the same. Note, 'compare' is checking the actual object id, not 'equals'.