Ask: How to implement the thread in Java to mutually exclusive calls, use synchronized as if it doesn't