Package io.sentry.util
Class CheckInUtils
java.lang.Object
io.sentry.util.CheckInUtils
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
Checks if a check-in for a monitor (CRON) has been ignored.static <U> U
withCheckIn
(@NotNull String monitorSlug, @NotNull Callable<U> callable) Helper method to send monitor check-ins for aCallable
static <U> U
withCheckIn
(@NotNull String monitorSlug, @Nullable MonitorConfig monitorConfig, @NotNull Callable<U> callable) Helper method to send monitor check-ins for aCallable
-
Constructor Details
-
CheckInUtils
public CheckInUtils()
-
-
Method Details
-
withCheckIn
public static <U> U withCheckIn(@NotNull @NotNull String monitorSlug, @Nullable @Nullable MonitorConfig monitorConfig, @NotNull @NotNull Callable<U> callable) throws Exception Helper method to send monitor check-ins for aCallable
-
withCheckIn
public static <U> U withCheckIn(@NotNull @NotNull String monitorSlug, @NotNull @NotNull Callable<U> callable) throws Exception Helper method to send monitor check-ins for aCallable
-
isIgnored
@Internal public static boolean isIgnored(@Nullable @Nullable List<String> ignoredSlugs, @NotNull @NotNull String slug) Checks if a check-in for a monitor (CRON) has been ignored.
-