coarse grained and fine grained locking

method description