Package org.jobrunr.server
Class DesktopUtils
java.lang.Object
org.jobrunr.server.DesktopUtils
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
static class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Instant
static boolean
static boolean
hasSystemSleptRecently
(Duration duration) static boolean
-
Constructor Details
-
DesktopUtils
public DesktopUtils()
-
-
Method Details
-
systemSupportsSleepDetection
public static boolean systemSupportsSleepDetection() -
getLastSystemAwakeTime
-
hasSystemSleptRecently
public static boolean hasSystemSleptRecently() -
hasSystemSleptRecently
-