public synchronized int removePTableOwner ( ThinPhysicalTableOwner pTableOwner , boolean bFreeIfEmpty ) { if ( pTableOwner != null ) { m_setPTableOwners . remove ( pTableOwner ) ; pTableOwner . setPTable ( null ) ; } if ( m_setPTableOwners . size ( ) == 0 ) if ( bFreeIfEmpty ) { this . free ( ) ; return 0 ; } m_lTimeLastUsed = System . currentTimeMillis ( ) ; return m_setPTableOwners . size ( ) ; }
Free this table if it is no longer being used .