Class Durations
java.lang.Object
dev.failsafe.internal.util.Durations
Duration and long utilities.
-
Method Summary
Modifier and TypeMethodDescriptionstatic DurationofSafeNanos(Duration duration) Returns either thedurationelse a Duration containing the max seconds that can safely be converted to nanos without overflowing.
-
Method Details
-
ofSafeNanos
-