MCPcopy Create free account
hub / github.com/apache/solr / asMap

Method asMap

solr/core/src/java/org/apache/solr/cli/HealthcheckTool.java:321–329  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

319 }
320
321 public Map<String, Object> asMap() {
322 Map<String, Object> map = new LinkedHashMap<>();
323 map.put("shard", shard);
324 map.put("status", getShardState().toString());
325 List<Object> replicaList = new ArrayList<>();
326 for (ReplicaHealth replica : replicas) replicaList.add(replica.asMap());
327 map.put("replicas", replicaList);
328 return map;
329 }
330
331 @Override
332 public String toString() {

Callers 15

runCloudToolMethod · 0.95
toStringMethod · 0.95
assertJQMethod · 0.45
MapperCacheClass · 0.45
testSimpleMethod · 0.45
resAsMapMethod · 0.45
callMethod · 0.45
sizeMethod · 0.45
writeMapMethod · 0.45
buildCacheMethod · 0.45

Calls 4

getShardStateMethod · 0.95
putMethod · 0.65
toStringMethod · 0.65
addMethod · 0.65

Tested by 5

assertJQMethod · 0.36
testSimpleMethod · 0.36
resAsMapMethod · 0.36