MCPcopy Create free account
hub / github.com/apache/storm / getLoad

Method getLoad

storm-client/src/jvm/org/apache/storm/grouping/Load.java:64–69  ·  view source on GitHub ↗

Get load. @return the load that is a combination of sub loads.

()

Source from the content-addressed store, hash-verified

62 * @return the load that is a combination of sub loads.
63 */
64 public double getLoad() {
65 if (!hasMetrics) {
66 return 1.0;
67 }
68 return connectionLoad > boltLoad ? connectionLoad : boltLoad;
69 }
70
71 @Override
72 public String toString() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected