public LockTable getLockTable ( String strDatabaseName , String strRecordName ) { String strKey = strDatabaseName + ' ' + strRecordName ; LockTable lockTable = ( LockTable ) m_htLockTables . get ( strKey ) ; if ( lockTable == null ) { synchronized ( m_htLockTables ) { if ( ( lockTable = ( LockTable ) m_htLockTables . get ( strKey ) ) == null ) m_htLockTables . put ( strKey , lockTable = new LockTable ( ) ) ; } m_hsMyLockTables . add ( lockTable ) ; // Keep track of the lock tables that I used } return lockTable ; }
Get the lock table for this record .