new Database locks

ReentrantReadWriteLock