112 lines
2.2 KiB
Java
112 lines
2.2 KiB
Java
package com.tencent.wxop.stat;
|
|
|
|
/* loaded from: classes.dex */
|
|
public class StatAppMonitor implements Cloneable {
|
|
public static final int FAILURE_RESULT_TYPE = 1;
|
|
public static final int LOGIC_FAILURE_RESULT_TYPE = 2;
|
|
public static final int SUCCESS_RESULT_TYPE = 0;
|
|
private String a;
|
|
private long b;
|
|
private long c;
|
|
private int d;
|
|
private long e;
|
|
private int f;
|
|
private int g;
|
|
|
|
public StatAppMonitor(String str) {
|
|
this.a = null;
|
|
this.b = 0L;
|
|
this.c = 0L;
|
|
this.d = 0;
|
|
this.e = 0L;
|
|
this.f = 0;
|
|
this.g = 1;
|
|
this.a = str;
|
|
}
|
|
|
|
public StatAppMonitor(String str, int i, int i2, long j, long j2, long j3, int i3) {
|
|
this.a = null;
|
|
this.b = 0L;
|
|
this.c = 0L;
|
|
this.d = 0;
|
|
this.e = 0L;
|
|
this.f = 0;
|
|
this.g = 1;
|
|
this.a = str;
|
|
this.b = j;
|
|
this.c = j2;
|
|
this.d = i;
|
|
this.e = j3;
|
|
this.f = i2;
|
|
this.g = i3;
|
|
}
|
|
|
|
/* renamed from: clone, reason: merged with bridge method [inline-methods] */
|
|
public StatAppMonitor m17clone() {
|
|
try {
|
|
return (StatAppMonitor) super.clone();
|
|
} catch (CloneNotSupportedException unused) {
|
|
return null;
|
|
}
|
|
}
|
|
|
|
public String getInterfaceName() {
|
|
return this.a;
|
|
}
|
|
|
|
public long getMillisecondsConsume() {
|
|
return this.e;
|
|
}
|
|
|
|
public long getReqSize() {
|
|
return this.b;
|
|
}
|
|
|
|
public long getRespSize() {
|
|
return this.c;
|
|
}
|
|
|
|
public int getResultType() {
|
|
return this.d;
|
|
}
|
|
|
|
public int getReturnCode() {
|
|
return this.f;
|
|
}
|
|
|
|
public int getSampling() {
|
|
return this.g;
|
|
}
|
|
|
|
public void setInterfaceName(String str) {
|
|
this.a = str;
|
|
}
|
|
|
|
public void setMillisecondsConsume(long j) {
|
|
this.e = j;
|
|
}
|
|
|
|
public void setReqSize(long j) {
|
|
this.b = j;
|
|
}
|
|
|
|
public void setRespSize(long j) {
|
|
this.c = j;
|
|
}
|
|
|
|
public void setResultType(int i) {
|
|
this.d = i;
|
|
}
|
|
|
|
public void setReturnCode(int i) {
|
|
this.f = i;
|
|
}
|
|
|
|
public void setSampling(int i) {
|
|
if (i <= 0) {
|
|
i = 1;
|
|
}
|
|
this.g = i;
|
|
}
|
|
}
|