Package io.sentry
Class ProfileChunk
java.lang.Object
io.sentry.ProfileChunk
- All Implemented Interfaces:
JsonSerializable,JsonUnknown
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic final classstatic final class -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionProfileChunk(@NotNull SentryId profilerId, @NotNull SentryId chunkId, @NotNull File traceFile, @NotNull Map<String, ProfileMeasurement> measurements, @NotNull Double timestamp, @NotNull String platform, @NotNull SentryOptions options) -
Method Summary
Modifier and TypeMethodDescriptionboolean@NotNull SentryId@Nullable SdkVersion@Nullable DebugMeta@Nullable String@NotNull Map<String,ProfileMeasurement> @NotNull String@NotNull SentryId@NotNull String@Nullable String@Nullable SentryProfiledouble@NotNull File@NotNull StringinthashCode()voidserialize(@NotNull ObjectWriter writer, @NotNull ILogger logger) voidsetDebugMeta(@Nullable DebugMeta debugMeta) voidsetSampledProfile(@Nullable String sampledProfile) voidsetSentryProfile(@Nullable SentryProfile sentryProfile) voidsetUnknown(@Nullable Map<String, Object> unknown)
-
Field Details
-
PLATFORM_ANDROID
- See Also:
-
PLATFORM_JAVA
- See Also:
-
-
Constructor Details
-
ProfileChunk
public ProfileChunk() -
ProfileChunk
public ProfileChunk(@NotNull @NotNull SentryId profilerId, @NotNull @NotNull SentryId chunkId, @NotNull @NotNull File traceFile, @NotNull @NotNull Map<String, ProfileMeasurement> measurements, @NotNull @NotNull Double timestamp, @NotNull @NotNull String platform, @NotNull @NotNull SentryOptions options)
-
-
Method Details
-
getMeasurements
-
getDebugMeta
-
setDebugMeta
-
getClientSdk
-
getChunkId
-
getEnvironment
-
getPlatform
-
getProfilerId
-
getRelease
-
getSampledProfile
-
setSampledProfile
-
getTraceFile
-
getTimestamp
public double getTimestamp() -
getVersion
-
getSentryProfile
-
setSentryProfile
-
equals
-
hashCode
public int hashCode() -
serialize
public void serialize(@NotNull @NotNull ObjectWriter writer, @NotNull @NotNull ILogger logger) throws IOException - Specified by:
serializein interfaceJsonSerializable- Throws:
IOException
-
getUnknown
- Specified by:
getUnknownin interfaceJsonUnknown
-
setUnknown
- Specified by:
setUnknownin interfaceJsonUnknown
-