Class SentrySample

java.lang.Object
io.sentry.protocol.profiling.SentrySample
All Implemented Interfaces:
JsonSerializable, JsonUnknown

@Internal public final class SentrySample extends Object implements JsonUnknown, JsonSerializable
  • 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

      @Nullable public @Nullable String getThreadId()
    • setThreadId

      public void setThreadId(@Nullable @Nullable String threadId)
    • serialize

      public void serialize(@NotNull @NotNull ObjectWriter writer, @NotNull @NotNull ILogger logger) throws IOException
      Specified by:
      serialize in interface JsonSerializable
      Throws:
      IOException
    • getUnknown

      @Nullable public @Nullable Map<String,Object> getUnknown()
      Specified by:
      getUnknown in interface JsonUnknown
    • setUnknown

      public void setUnknown(@Nullable @Nullable Map<String,Object> unknown)
      Specified by:
      setUnknown in interface JsonUnknown