mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2025-01-09 13:43:22 +00:00
112 lines
2.7 KiB
Smali
112 lines
2.7 KiB
Smali
.class public abstract Lio/sentry/metrics/Metric;
|
|
.super Ljava/lang/Object;
|
|
.source "Metric.java"
|
|
|
|
|
|
# instance fields
|
|
.field private final key:Ljava/lang/String;
|
|
|
|
.field private final tags:Ljava/util/Map;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/Map<",
|
|
"Ljava/lang/String;",
|
|
"Ljava/lang/String;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field private final type:Lio/sentry/metrics/MetricType;
|
|
|
|
.field private final unit:Lio/sentry/MeasurementUnit;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lio/sentry/metrics/MetricType;Ljava/lang/String;Lio/sentry/MeasurementUnit;Ljava/util/Map;)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lio/sentry/metrics/MetricType;",
|
|
"Ljava/lang/String;",
|
|
"Lio/sentry/MeasurementUnit;",
|
|
"Ljava/util/Map<",
|
|
"Ljava/lang/String;",
|
|
"Ljava/lang/String;",
|
|
">;)V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 30
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput-object p1, p0, Lio/sentry/metrics/Metric;->type:Lio/sentry/metrics/MetricType;
|
|
|
|
iput-object p2, p0, Lio/sentry/metrics/Metric;->key:Ljava/lang/String;
|
|
|
|
iput-object p3, p0, Lio/sentry/metrics/Metric;->unit:Lio/sentry/MeasurementUnit;
|
|
|
|
iput-object p4, p0, Lio/sentry/metrics/Metric;->tags:Ljava/util/Map;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public abstract add(D)V
|
|
.end method
|
|
|
|
.method public getKey()Ljava/lang/String;
|
|
.locals 0
|
|
|
|
iget-object p0, p0, Lio/sentry/metrics/Metric;->key:Ljava/lang/String;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public getTags()Ljava/util/Map;
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
"Ljava/util/Map<",
|
|
"Ljava/lang/String;",
|
|
"Ljava/lang/String;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
iget-object p0, p0, Lio/sentry/metrics/Metric;->tags:Ljava/util/Map;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public getType()Lio/sentry/metrics/MetricType;
|
|
.locals 0
|
|
|
|
iget-object p0, p0, Lio/sentry/metrics/Metric;->type:Lio/sentry/metrics/MetricType;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public getUnit()Lio/sentry/MeasurementUnit;
|
|
.locals 0
|
|
|
|
iget-object p0, p0, Lio/sentry/metrics/Metric;->unit:Lio/sentry/MeasurementUnit;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public abstract getWeight()I
|
|
.end method
|
|
|
|
.method public abstract serialize()Ljava/lang/Iterable;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
"Ljava/lang/Iterable<",
|
|
"*>;"
|
|
}
|
|
.end annotation
|
|
.end method
|