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
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
static final class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@Nullable Long
@Nullable Long
@Nullable Long
@Nullable Long
@NotNull MonitorSchedule
@Nullable String
void
serialize
(@NotNull ObjectWriter writer, @NotNull ILogger logger) void
setCheckinMargin
(@Nullable Long checkinMargin) void
setFailureIssueThreshold
(@Nullable Long failureIssueThreshold) void
setMaxRuntime
(@Nullable Long maxRuntime) void
setRecoveryThreshold
(@Nullable Long recoveryThreshold) void
setSchedule
(@NotNull MonitorSchedule schedule) void
setTimezone
(@Nullable String timezone) void
setUnknown
(@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:
getUnknown
in interfaceJsonUnknown
-
setUnknown
- Specified by:
setUnknown
in interfaceJsonUnknown
-
serialize
public void serialize(@NotNull @NotNull ObjectWriter writer, @NotNull @NotNull ILogger logger) throws IOException - Specified by:
serialize
in interfaceJsonSerializable
- Throws:
IOException
-