/wro4j-core/src/main/java/ro/isdc/wro/cache/support/AbstractSynchronizedCacheStrategyDecorator.java
getDecoratedObject( ).put( key, value) ; try {lock.writeLock( ).lock( ) ;
lock.writeLock ( ) .lock ( ) ; try { getDecoratedObject ( ) .put ( key, value ) ;
} protected void onBeforeGet(final K key) { } @Override public final void put(final K key, final V value) { final ReadWriteLock lock = getLockForKey(key); <extra_id_0> } finally { lock.writeLock().unlock(); } } private ReadWriteLock getLockForKey(final K key) { final ReadWriteLock lock = locks.putIfAbsent(key, new ReentrantReadWriteLock());