public RequestTable < T > grow ( int new_capacity ) { lock . lock ( ) ; try { _grow ( new_capacity ) ; return this ; } finally { lock . unlock ( ) ; } }
Grows the array to at least new_capacity . This method is mainly used for testing and is not typically called directly but indirectly when adding elements and the underlying array has no space left .