Package io.sentry

Class MonitorConfig

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

@Experimental public final class MonitorConfig extends Object implements JsonUnknown, JsonSerializable
  • Constructor Details

    • MonitorConfig

      public MonitorConfig(@NotNull @NotNull MonitorSchedule schedule)
  • Method Details

    • getSchedule

      @NotNull public @NotNull MonitorSchedule getSchedule()
    • setSchedule

      public void setSchedule(@NotNull @NotNull MonitorSchedule schedule)
    • getCheckinMargin

      @Nullable public @Nullable Long getCheckinMargin()
    • setCheckinMargin

      public void setCheckinMargin(@Nullable @Nullable Long checkinMargin)
    • getMaxRuntime

      @Nullable public @Nullable Long getMaxRuntime()
    • setMaxRuntime

      public void setMaxRuntime(@Nullable @Nullable Long maxRuntime)
    • getTimezone

      @Nullable public @Nullable String getTimezone()
    • setTimezone

      public void setTimezone(@Nullable @Nullable String timezone)
    • getFailureIssueThreshold

      @Nullable public @Nullable Long getFailureIssueThreshold()
    • setFailureIssueThreshold

      public void setFailureIssueThreshold(@Nullable @Nullable Long failureIssueThreshold)
    • getRecoveryThreshold

      @Nullable public @Nullable Long getRecoveryThreshold()
    • setRecoveryThreshold

      public void setRecoveryThreshold(@Nullable @Nullable Long recoveryThreshold)
    • 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
    • serialize

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