sinchronized metod