| 144 | readonly [MetricKeyTypeTypeId] = metricKeyTypeVariance |
| 145 | readonly [SummaryKeyTypeTypeId]: MetricKeyType.SummaryKeyTypeTypeId = SummaryKeyTypeTypeId |
| 146 | constructor( |
| 147 | readonly maxAge: Duration.Duration, |
| 148 | readonly maxSize: number, |
| 149 | readonly error: number, |
| 150 | readonly quantiles: ReadonlyArray<number> |
| 151 | ) { |
| 152 | this._hash = pipe( |
| 153 | Hash.string(SummaryKeyTypeSymbolKey), |
| 154 | Hash.combine(Hash.hash(this.maxAge)), |
| 155 | Hash.combine(Hash.hash(this.maxSize)), |
| 156 | Hash.combine(Hash.hash(this.error)), |
| 157 | Hash.combine(Hash.array(this.quantiles)) |
| 158 | ) |
| 159 | } |
| 160 | readonly _hash: number; |
| 161 | [Hash.symbol](): number { |
| 162 | return this._hash |