Package io.sentry
Class MonitorConfig
java.lang.Object
io.sentry.MonitorConfig
- All Implemented Interfaces:
JsonSerializable,JsonUnknown
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic final class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable Long@Nullable Long@Nullable Long@Nullable Long@NotNull MonitorSchedule@Nullable Stringvoidserialize(@NotNull ObjectWriter writer, @NotNull ILogger logger) voidsetCheckinMargin(@Nullable Long checkinMargin) voidsetFailureIssueThreshold(@Nullable Long failureIssueThreshold) voidsetMaxRuntime(@Nullable Long maxRuntime) voidsetRecoveryThreshold(@Nullable Long recoveryThreshold) voidsetSchedule(@NotNull MonitorSchedule schedule) voidsetTimezone(@Nullable String timezone) voidsetUnknown(@Nullable Map<String, Object> unknown)
-
Constructor Details
-
MonitorConfig
-
-
Method Details
-
getSchedule
-
setSchedule
-
getCheckinMargin
-
setCheckinMargin
-
getMaxRuntime
-
setMaxRuntime
-
getTimezone
-
setTimezone
-
getFailureIssueThreshold
-
setFailureIssueThreshold
-
getRecoveryThreshold
-
setRecoveryThreshold
-
getUnknown
- Specified by:
getUnknownin interfaceJsonUnknown
-
setUnknown
- Specified by:
setUnknownin interfaceJsonUnknown
-
serialize
public void serialize(@NotNull @NotNull ObjectWriter writer, @NotNull @NotNull ILogger logger) throws IOException - Specified by:
serializein interfaceJsonSerializable- Throws:
IOException
-