If I have several mutable properties in an object that will be acted upon by several threads, I understand they should be synchronized.
class Doggie { private String name; ...
Let's say you have the following code:
public int getSpeedX() { speedLock.lock(); try { return speedX; ...
I am having a multi-thread application using a single static class which provied a list. I want getters of the static class to work freely (not syncronized against each other) but ...