Increments the counter by the given amount.
Throw IllegalArgumentException if localRights is not sufficient (with negative amount only; see decrement).
the delta corresponding to this operation.