Uses of Interface
oshi.util.ExceptionUtil.ThrowingLongSupplier
Packages that use ExceptionUtil.ThrowingLongSupplier
-
Uses of ExceptionUtil.ThrowingLongSupplier in oshi.util
Methods in oshi.util with parameters of type ExceptionUtil.ThrowingLongSupplierModifier and TypeMethodDescriptionstatic longExceptionUtil.getLongOrDefault(ExceptionUtil.ThrowingLongSupplier supplier, long defaultValue) Executes the long supplier, returning its result on success or the default value on failure.static longExceptionUtil.getLongOrDefault(ExceptionUtil.ThrowingLongSupplier supplier, long defaultValue, org.slf4j.Logger log, String msg) Executes the long supplier, returning its result on success or the default value on failure.static longExceptionUtil.getLongOrDefault(ExceptionUtil.ThrowingLongSupplier supplier, long defaultValue, org.slf4j.Logger log, org.slf4j.event.Level level, String msg) Executes the long supplier, returning its result on success or the default value on failure.static OptionalLongExceptionUtil.getOptionalLong(ExceptionUtil.ThrowingLongSupplier supplier, org.slf4j.Logger log, String msg) Executes the long supplier, wrapping the result in anOptionalLong.static OptionalLongExceptionUtil.getOptionalLong(ExceptionUtil.ThrowingLongSupplier supplier, org.slf4j.Logger log, org.slf4j.event.Level level, String msg) Executes the long supplier, wrapping the result in anOptionalLong.