ReferenceCountingResourceHolder < List < T >> function ( final int arg0 ) { checkInitialized ( ) ; try { return wrapObjects ( takeObjects ( arg0 ) ) ; } catch ( InterruptedException loc0 ) { throw Throwables . propagate ( loc0 ) ; } }
take resources from the pool , waiting if necessary until the elements of the given number become available . concode_field_sep ArrayDeque<T> objects concode_elem_sep ReentrantLock lock concode_elem_sep int maxSize concode_elem_sep TimeUnit TIME_UNIT concode_elem_sep Condition notEnough concode_field_sep void offer concode_elem_sep ReferenceCountingResourceHolder<T> take concode_elem_sep ReferenceCountingResourceHolder<T> take concode_elem_sep void checkInitialized concode_elem_sep List<T> pollObjects concode_elem_sep List<T> pollObjects concode_elem_sep int getPoolSize concode_elem_sep ReferenceCountingResourceHolder<T> wrapObject concode_elem_sep T takeObject concode_elem_sep int maxSize concode_elem_sep ReferenceCountingResourceHolder<List<T>> wrapObjects concode_elem_sep T pollObject concode_elem_sep T pollObject concode_elem_sep List<T> takeObjects concode_elem_sep void offerBatch