(SolrClient solrClient)
| 426 | final boolean hasName = coreStatus != null && coreStatus.name != null; |
| 427 | exists = hasName || initFailureForCore != null; |
| 428 | wait = hasName && initFailureForCore == null && Boolean.TRUE.equals(coreStatus.isLoading); |
| 429 | } while (wait && System.nanoTime() - startWaitAt < MAX_WAIT_FOR_CORE_LOAD_NANOS); |
| 430 | } catch (Exception exc) { |
| 431 | // just ignore it since we're only interested in a positive result here |
| 432 | } |
| 433 | return exists; |
| 434 | } |