Package io.sentry.profilemeasurements
Class ProfileMeasurementValue
java.lang.Object
io.sentry.profilemeasurements.ProfileMeasurementValue
- All Implemented Interfaces:
JsonSerializable
,JsonUnknown
@Internal
public final class ProfileMeasurementValue
extends Object
implements JsonUnknown, JsonSerializable
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
static final class
-
Constructor Summary
ConstructorDescriptionProfileMeasurementValue
(@NotNull Long relativeStartNs, @NotNull Number value) -
Method Summary
Modifier and TypeMethodDescriptionboolean
@NotNull String
double
getValue()
int
hashCode()
void
serialize
(@NotNull ObjectWriter writer, @NotNull ILogger logger) void
setUnknown
(@Nullable Map<String, Object> unknown)
-
Constructor Details
-
ProfileMeasurementValue
public ProfileMeasurementValue() -
ProfileMeasurementValue
-
-
Method Details
-
getValue
public double getValue() -
getRelativeStartNs
-
equals
-
hashCode
public int hashCode() -
serialize
public void serialize(@NotNull @NotNull ObjectWriter writer, @NotNull @NotNull ILogger logger) throws IOException - Specified by:
serialize
in interfaceJsonSerializable
- Throws:
IOException
-
getUnknown
- Specified by:
getUnknown
in interfaceJsonUnknown
-
setUnknown
- Specified by:
setUnknown
in interfaceJsonUnknown
-