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

Method Load

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

Create a new load. @param hasMetrics have metrics been reported yet? @param boltLoad the load as reported by the bolt 0.0 no load 1.0 fully loaded @param connectionLoad the load as reported by the connection to the bolt 0.0 no load 1.0 fully loaded.

(boolean hasMetrics, double boltLoad, double connectionLoad)

Source from the content-addressed store, hash-verified

28 * @param connectionLoad the load as reported by the connection to the bolt 0.0 no load 1.0 fully loaded.
29 */
30 public Load(boolean hasMetrics, double boltLoad, double connectionLoad) {
31 this.hasMetrics = hasMetrics;
32 this.boltLoad = boltLoad;
33 this.connectionLoad = connectionLoad;
34 }
35
36 /**
37 * Check whether has metrics.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected