Since start(), stop() and getValue() can be called by any thread, this is not thread safe.
The easiest is to make this volatile. Otherwise make all access to it synchronized.