Package org.apache.solr.common.cloud
Class PerReplicaStatesFetcher
- java.lang.Object
-
- org.apache.solr.common.cloud.PerReplicaStatesFetcher
-
public class PerReplicaStatesFetcher extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PerReplicaStatesFetcher.LazyPrsSupplier
-
Constructor Summary
Constructors Constructor Description PerReplicaStatesFetcher()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.apache.solr.common.cloud.PerReplicaStates
fetch(String path, SolrZkClient zkClient, org.apache.solr.common.cloud.PerReplicaStates current)
Fetch the latestPerReplicaStates
.
-
-
-
Method Detail
-
fetch
public static org.apache.solr.common.cloud.PerReplicaStates fetch(String path, SolrZkClient zkClient, org.apache.solr.common.cloud.PerReplicaStates current)
Fetch the latestPerReplicaStates
. It fetches data after checking theStat.getCversion()
of state.json. If this is not modified, the same object is returned
-
-