acquire a resource of type code t from the pool . concode_field_sep ReentrantLock mLock concode_elem_sep ScheduledExecutorService mExecutor concode_elem_sep Clock mClock concode_elem_sep long mInitialDelayMs concode_elem_sep long mLastAccessTimeMs concode_elem_sep Condition mNotEmpty concode_elem_sep ScheduledExecutorService mGcExecutor concode_elem_sep long mGcIntervalMs concode_elem_sep int mIdentity concode_elem_sep T mResource concode_elem_sep int mMaxCapacity concode_elem_sep HashMap<T,ResourceInternal<T>> mResources concode_elem_sep int mMaxCapacity concode_elem_sep ScheduledFuture<?> mGcFuture concode_elem_sep TreeSet<ResourceInternal<T>> mResourceAvailable concode_elem_sep int mMinCapacity concode_elem_sep Logger LOG concode_elem_sep int mMinCapacity concode_field_sep T createNewResource concode_elem_sep int compare concode_elem_sep void release concode_elem_sep ResourceInternal<T> poll concode_elem_sep void remove concode_elem_sep boolean isHealthy concode_elem_sep boolean shouldGc concode_elem_sep void setLastAccessTimeMs concode_elem_sep Options setMinCapacity concode_elem_sep Options setGcIntervalMs concode_elem_sep Options setGcExecutor concode_elem_sep Options setInitialDelayMs concode_elem_sep long getInitialDelayMs concode_elem_sep long getLastAccessTimeMs concode_elem_sep void close concode_elem_sep boolean add concode_elem_sep ScheduledExecutorService getGcExecutor concode_elem_sep int getMaxCapacity concode_elem_sep Options defaultOptions concode_elem_sep void closeResource concode_elem_sep Options setMaxCapacity concode_elem_sep void closeResourceSync concode_elem_sep int size concode_elem_sep long getGcIntervalMs concode_elem_sep T checkHealthyAndRetry concode_elem_sep int getMinCapacity concode_elem_sep boolean isFull