With Operator State (or non-keyed state), each operator state is bound to one parallel operator instance
The above quote is from the official Flink website. Each parallel operator instance may have thread pool. When these threads access the Operator State (as described above, each parallel operator instance can have one operator state), would it encounter a thread-safe problem? Should I use Operator State with terminology like below in Java?
synchronize(stateInstance){
//update state
}