It is thread safe as long as the integer_field and float_field are used in stateless manner. I think that is the case, but verifying that isn't easy.