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)
| 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. |
nothing calls this directly
no outgoing calls
no test coverage detected