Package io.sentry.protocol.profiling
Class SentrySample
java.lang.Object
io.sentry.protocol.profiling.SentrySample
- All Implemented Interfaces:
JsonSerializable,JsonUnknown
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic final class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint@Nullable Stringdoublevoidserialize(@NotNull ObjectWriter writer, @NotNull ILogger logger) voidsetStackId(int stackId) voidsetThreadId(@Nullable String threadId) voidsetTimestamp(double timestamp) voidsetUnknown(@Nullable Map<String, Object> unknown)
-
Constructor Details
-
SentrySample
public SentrySample()
-
-
Method Details
-
getTimestamp
public double getTimestamp() -
setTimestamp
public void setTimestamp(double timestamp) -
getStackId
public int getStackId() -
setStackId
public void setStackId(int stackId) -
getThreadId
-
setThreadId
-
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
-