ZkStateReader

Source file "org/apache/solr/common/cloud/ZkStateReader.java" was not found during generation of report.

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total3,418 of 3,4180%338 of 3380%270270712712101101
constructState(Set)1700%100%66282811
ZkStateReader(String, int, int)1400%40%33313111
getReplicaProps(String, String, String, Replica.State, Replica.State, EnumSet)1340%280%1515242411
ZkStateReader(SolrZkClient, Runnable)1300%40%33313111
updateWatchedCollection(String, DocCollection)1280%240%1313292911
refreshLegacyClusterState(Watcher)1260%120%77292911
forceUpdateCollection(String)1120%180%1010292911
getCollectionProperties(String, long)1020%120%77212111
refreshLiveNodes(Watcher)970%120%77252511
readConfigName(String)910%40%33181811
fetchCollectionProperties(String, Watcher)830%80%55171711
waitForState(String, long, TimeUnit, Predicate)800%80%55161611
compareStateVersions(String, int)780%160%99181811
getSecurityProps(boolean)770%100%66151511
refreshCollectionList(Watcher)750%100%66181811
static {...}720%20%226611
createClusterStateWatchersAndUpdate()710%40%33151511
loadClusterProperties()710%40%33171711
forciblyRefreshAllClusterStateSlow()660%60%44171711
fetchCollectionState(String, Watcher, String)630%80%55141411
waitForState(String, long, TimeUnit, CollectionStatePredicate)630%40%33121211
getLeaderRetry(String, String, int)600%n/a119911
waitForLiveNodes(long, TimeUnit, LiveNodesPredicate)520%40%33111111
lambda$createClusterStateWatchersAndUpdate$0(Pair)420%60%446611
registerDocCollectionWatcher(String, DocCollectionWatcher)410%40%339911
getAutoScalingConfig(Watcher)390%40%339911
updatePerReplicaState(DocCollection)390%60%449911
lambda$getLeaderRetry$6(AtomicReference, String, String, AtomicReference, Set, DocCollection)390%40%339911
getCollectionLive(ZkStateReader, String)380%n/a116611
lambda$unregisterCore$12(String, AtomicBoolean, String, ZkStateReader.CollectionWatch)380%60%44101011
close()340%60%449911
lambda$removeDocCollectionWatcher$17(DocCollectionWatcher, String, AtomicBoolean, String, ZkStateReader.CollectionWatch)340%40%339911
lambda$waitForState$14(AtomicReference, CollectionStatePredicate, String, CountDownLatch, Set, DocCollection)320%100%669911
registerCollectionStateWatcher(String, CollectionStateWatcher)310%20%227711
notifyCloudCollectionsListeners(boolean)300%40%337711
getShardLeadersElectPath(String, String)300%20%221111
removeDocCollectionWatcher(String, DocCollectionWatcher)300%20%227711
unregisterCore(String)290%20%227711
lambda$removeCollectionPropsWatcher$21(CollectionPropsWatcher, String, String, ZkStateReader.CollectionWatch)290%40%339911
getLeader(String, String)280%80%556611
getShardLeadersPath(String, String)280%20%221111
registerCollectionPropsWatcher(String, CollectionPropsWatcher)260%20%225511
notifyStateWatchers(String, DocCollection)260%40%338811
getCurrentCollections()240%n/a115511
registerLiveNodesListener(LiveNodesListener)240%20%224411
refreshAliases(ZkStateReader.AliasesManager)230%n/a116611
registerCore(String)220%20%225511
notifyPropsWatchers(String, Map)220%20%226611
lambda$fetchCollectionState$10(String)220%n/a115511
getLeaderUrl(String, String, int)210%40%335511
refreshStateFormat2Collections()200%20%224411
lambda$registerDocCollectionWatcher$13(AtomicBoolean, DocCollectionWatcher, String, ZkStateReader.CollectionWatch)200%20%226611
getLeader(Set, DocCollection, String)190%60%444411
lambda$registerCore$11(AtomicBoolean, String, ZkStateReader.CollectionWatch)180%20%225511
lambda$registerCollectionPropsWatcher$19(AtomicBoolean, CollectionPropsWatcher, String, ZkStateReader.CollectionWatch)170%20%225511
registerClusterPropertiesListener(ClusterPropertiesListener)150%20%224411
removeCollectionStateWatcher(String, CollectionStateWatcher)150%n/a114411
lambda$refreshLiveNodes$4(SortedSet, SortedSet, LiveNodesListener)150%20%223311
getCollectionPropsPath(String)130%n/a111111
getStateWatchers(String)130%n/a113311
lambda$waitForState$15(AtomicReference, Predicate, CountDownLatch, DocCollection)130%20%225511
lambda$getCollectionProperties$9(long, String, ZkStateReader.PropsWatcher)130%20%221111
addSecurityNodeWatcher(Callable)120%n/a112211
getClusterProperty(String, Object)120%20%224411
getClusterProperty(List, Object)120%20%224411
getReplicaProps(String, String, String, Replica.State, Replica.State)110%n/a111111
lambda$waitForLiveNodes$16(LiveNodesPredicate, CountDownLatch, SortedSet, SortedSet)110%20%224411
getCollectionPath(String)100%n/a111111
removeCollectionPropsWatcher(String, CollectionPropsWatcher)100%n/a112211
getCollection(String)100%20%221111
lambda$createClusterStateWatchersAndUpdate$2(String, ZkStateReader.CollectionWatch)100%n/a112211
registerCloudCollectionsListener(CloudCollectionsListener)90%n/a113311
getCollectionPathRoot(String)90%n/a111111
lambda$getStateWatchers$18(Set, String, ZkStateReader.CollectionWatch)90%20%223311
lambda$new$8(WatchedEvent)90%20%224411
notifyNewCloudCollectionsListener(CloudCollectionsListener)80%n/a112211
getReplicaProps(String, String, String, Replica.State)80%n/a111111
getBaseUrlForNodeName(String)80%n/a111111
getReplicaProps(String, String, String)70%n/a111111
lambda$getReplicaProps$7(EnumSet, Map.Entry)70%n/a111111
removeCloudCollectionsListener(CloudCollectionsListener)60%n/a112211
removeClusterPropertiesListener(ClusterPropertiesListener)60%n/a112211
removeLiveNodesListener(LiveNodesListener)60%n/a112211
getLeaderRetry(String, String)60%n/a111111
lambda$registerCollectionPropsWatcher$20(String)60%n/a111111
lambda$null$1(String)60%n/a111111
ZkStateReader(SolrZkClient)50%n/a112211
isNodeLive(String)50%n/a111111
getCollectionProperties(String)50%n/a111111
lambda$notifyCloudCollectionsListeners$3(Set, Set, CloudCollectionsListener)50%n/a111111
getAutoScalingConfig()40%n/a111111
updateLiveNodes()40%n/a112211
notifyCloudCollectionsListeners()40%n/a112211
getClusterProperties()40%n/a111111
getAliases()40%n/a111111
getConfigManager()30%n/a111111
getClusterState()30%n/a111111
isClosed()30%n/a111111
getZkClient()30%n/a111111
lambda$close$5(CountDownLatch)30%n/a112211
getUpdateLock()20%n/a111111