Package io.sentry.protocol.profiling
Class SentryProfile
java.lang.Object
io.sentry.protocol.profiling.SentryProfile
- All Implemented Interfaces:
JsonSerializable,JsonUnknown
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic final class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull List<SentryStackFrame>@NotNull List<SentrySample>@NotNull Map<String,SentryThreadMetadata> voidserialize(@NotNull ObjectWriter writer, @NotNull ILogger logger) voidsetFrames(@NotNull List<SentryStackFrame> frames) voidsetSamples(@NotNull List<SentrySample> samples) voidvoidsetThreadMetadata(@NotNull Map<String, SentryThreadMetadata> threadMetadata) voidsetUnknown(@Nullable Map<String, Object> unknown)
-
Constructor Details
-
SentryProfile
public SentryProfile()
-
-
Method Details
-
serialize
public void serialize(@NotNull @NotNull ObjectWriter writer, @NotNull @NotNull ILogger logger) throws IOException - Specified by:
serializein interfaceJsonSerializable- Throws:
IOException
-
getSamples
-
setSamples
-
getStacks
-
setStacks
-
getFrames
-
setFrames
-
getThreadMetadata
-
setThreadMetadata
-
getUnknown
- Specified by:
getUnknownin interfaceJsonUnknown
-
setUnknown
- Specified by:
setUnknownin interfaceJsonUnknown
-