Synchronized api useage with method signature