blob: e56f6a5f739ea9b59ff2f59d14b2fcad5ce3f854 [file] [log] [blame]
package org.apache.rocketmq.exporter.model.metrics.clientrunime;
public class ConsumerRuntimePullTPSMetric extends ConsumerRuntimeConsumeFailedMsgsMetric {
public ConsumerRuntimePullTPSMetric(String group, String topic, String caddrs, String localaddrs) {
super(group, topic, caddrs, localaddrs);
}
@Override
public int hashCode() {
int hash = 1;
hash = 37 * hash + this.getGroup().hashCode();
hash = 37 * hash + this.getTopic().hashCode();
hash = 37 * hash + this.getCaddrs().hashCode();
return hash;
}
@Override
public String toString() {
return "group: " + this.getGroup() + " topic: " + this.getTopic() + " caddrs: " + this.getCaddrs() + " localaddrs: " + this.getLocaladdrs();
}
}