Package io.sentry

Class ProfilingTraceData

java.lang.Object
io.sentry.ProfilingTraceData
All Implemented Interfaces:
JsonSerializable, JsonUnknown

@Internal public final class ProfilingTraceData extends Object implements JsonUnknown, JsonSerializable
  • Field Details

  • Constructor Details

    • ProfilingTraceData

      public ProfilingTraceData(@NotNull @NotNull File traceFile, @NotNull @NotNull ITransaction transaction)
    • ProfilingTraceData

      public ProfilingTraceData(@NotNull @NotNull File traceFile, @NotNull @NotNull Date profileStartTimestamp, @NotNull @NotNull List<ProfilingTransactionData> transactions, @NotNull @NotNull String transactionName, @NotNull @NotNull String transactionId, @NotNull @NotNull String traceId, @NotNull @NotNull String durationNanos, int sdkInt, @NotNull @NotNull String cpuArchitecture, @NotNull @NotNull Callable<List<Integer>> deviceCpuFrequenciesReader, @Nullable @Nullable String deviceManufacturer, @Nullable @Nullable String deviceModel, @Nullable @Nullable String deviceOsVersion, @Nullable @Nullable Boolean deviceIsEmulator, @Nullable @Nullable String devicePhysicalMemoryBytes, @Nullable @Nullable String buildId, @Nullable @Nullable String release, @Nullable @Nullable String environment, @NotNull @NotNull String truncationReason, @NotNull @NotNull Map<String,ProfileMeasurement> measurementsMap)
  • Method Details

    • getTraceFile

      @NotNull public @NotNull File getTraceFile()
    • getAndroidApiLevel

      public int getAndroidApiLevel()
    • getCpuArchitecture

      @NotNull public @NotNull String getCpuArchitecture()
    • getDeviceLocale

      @NotNull public @NotNull String getDeviceLocale()
    • getDeviceManufacturer

      @NotNull public @NotNull String getDeviceManufacturer()
    • getDeviceModel

      @NotNull public @NotNull String getDeviceModel()
    • getDeviceOsBuildNumber

      @NotNull public @NotNull String getDeviceOsBuildNumber()
    • getDeviceOsName

      @NotNull public @NotNull String getDeviceOsName()
    • getDeviceOsVersion

      @NotNull public @NotNull String getDeviceOsVersion()
    • isDeviceIsEmulator

      public boolean isDeviceIsEmulator()
    • getPlatform

      @NotNull public @NotNull String getPlatform()
    • getBuildId

      @NotNull public @NotNull String getBuildId()
    • getTransactionName

      @NotNull public @NotNull String getTransactionName()
    • getRelease

      @NotNull public @NotNull String getRelease()
    • getTransactionId

      @NotNull public @NotNull String getTransactionId()
    • getTransactions

      @NotNull public @NotNull List<ProfilingTransactionData> getTransactions()
    • getTraceId

      @NotNull public @NotNull String getTraceId()
    • getProfileId

      @NotNull public @NotNull String getProfileId()
    • getEnvironment

      @NotNull public @NotNull String getEnvironment()
    • getSampledProfile

      @Nullable public @Nullable String getSampledProfile()
    • getDurationNs

      @NotNull public @NotNull String getDurationNs()
    • getDeviceCpuFrequencies

      @NotNull public @NotNull List<Integer> getDeviceCpuFrequencies()
    • getDevicePhysicalMemoryBytes

      @NotNull public @NotNull String getDevicePhysicalMemoryBytes()
    • getTruncationReason

      @NotNull public @NotNull String getTruncationReason()
    • getTimestamp

      @NotNull public @NotNull Date getTimestamp()
    • getMeasurementsMap

      @NotNull public @NotNull Map<String,ProfileMeasurement> getMeasurementsMap()
    • setAndroidApiLevel

      public void setAndroidApiLevel(int androidApiLevel)
    • setCpuArchitecture

      public void setCpuArchitecture(@NotNull @NotNull String cpuArchitecture)
    • setDeviceLocale

      public void setDeviceLocale(@NotNull @NotNull String deviceLocale)
    • setDeviceManufacturer

      public void setDeviceManufacturer(@NotNull @NotNull String deviceManufacturer)
    • setDeviceModel

      public void setDeviceModel(@NotNull @NotNull String deviceModel)
    • setDeviceOsBuildNumber

      public void setDeviceOsBuildNumber(@NotNull @NotNull String deviceOsBuildNumber)
    • setDeviceOsVersion

      public void setDeviceOsVersion(@NotNull @NotNull String deviceOsVersion)
    • setDeviceIsEmulator

      public void setDeviceIsEmulator(boolean deviceIsEmulator)
    • setDeviceCpuFrequencies

      public void setDeviceCpuFrequencies(@NotNull @NotNull List<Integer> deviceCpuFrequencies)
    • setDevicePhysicalMemoryBytes

      public void setDevicePhysicalMemoryBytes(@NotNull @NotNull String devicePhysicalMemoryBytes)
    • setTimestamp

      public void setTimestamp(@NotNull @NotNull Date timestamp)
    • setTruncationReason

      public void setTruncationReason(@NotNull @NotNull String truncationReason)
    • setTransactions

      public void setTransactions(@NotNull @NotNull List<ProfilingTransactionData> transactions)
    • setBuildId

      public void setBuildId(@NotNull @NotNull String buildId)
    • setTransactionName

      public void setTransactionName(@NotNull @NotNull String transactionName)
    • setDurationNs

      public void setDurationNs(@NotNull @NotNull String durationNs)
    • setRelease

      public void setRelease(@NotNull @NotNull String release)
    • setTransactionId

      public void setTransactionId(@NotNull @NotNull String transactionId)
    • setTraceId

      public void setTraceId(@NotNull @NotNull String traceId)
    • setProfileId

      public void setProfileId(@NotNull @NotNull String profileId)
    • setEnvironment

      public void setEnvironment(@NotNull @NotNull String environment)
    • setSampledProfile

      public void setSampledProfile(@Nullable @Nullable String sampledProfile)
    • readDeviceCpuFrequencies

      public void readDeviceCpuFrequencies()
    • 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