public ReentrantLock get(SbbEntityID sbbEntityId) {
		ReentrantLock lock = locks.get(sbbEntityId);
		if (lock == null) {
			final ReentrantLock newLock = new ReentrantLock();
			lock = locks.putIfAbsent(sbbEntityId, newLock);
			if (lock == null) {
				if(doInfoLogs) {
					logger.info(Thread.currentThread()+" put of lock "+newLock+" for "+sbbEntityId);
				}
				lock = newLock;
			}
		}
		return lock;
	}
public ReentrantLock get ( SbbEntityID sbbEntityId ) { ReentrantLock lock = locks . get ( sbbEntityId ) ; if ( lock == null ) { final ReentrantLock newLock = new ReentrantLock ( ) ; lock = locks . putIfAbsent ( sbbEntityId , newLock ) ; if ( lock == null ) { if ( doInfoLogs ) { logger . info ( Thread . currentThread ( ) + " put of lock " + newLock + " for " + sbbEntityId ) ; } lock = newLock ; } } return lock ; }
@param sbbEntityId
@return