Uses of Interface
io.fluxzero.common.ThrowingRunnable
Packages that use ThrowingRunnable
-
Uses of ThrowingRunnable in io.fluxzero.common
Methods in io.fluxzero.common with parameters of type ThrowingRunnableModifier and TypeMethodDescriptionstatic Callable<?> ObjectUtils.asCallable(ThrowingRunnable runnable) Converts a ThrowingRunnable into aCallable<Object>that returns null.static RunnableObjectUtils.asRunnable(ThrowingRunnable runnable) static voidObjectUtils.run(ThrowingRunnable runnable) Executes the runnable, forcibly rethrowing exceptions as unchecked.booleanTimeboxedExecutor.runAndWait(ThrowingRunnable task, Duration maxDuration) Executes the given task and waits for completion up to the given maximum duration.static booleanTimingUtils.runAndWait(ThrowingRunnable task, Duration maxDuration) Executes the given task and waits for completion up to the given maximum duration.InMemoryTaskScheduler.schedule(long deadline, ThrowingRunnable task) TaskScheduler.schedule(long deadline, ThrowingRunnable task) Schedules a task to be executed at the given epoch millisecond timestamp.default RegistrationTaskScheduler.schedule(Duration duration, ThrowingRunnable task) Schedules a task to be executed after a specified delay.default RegistrationTaskScheduler.schedule(Instant deadline, ThrowingRunnable task) Schedules a task to be executed at a specific timestamp.voidInMemoryTaskScheduler.submit(ThrowingRunnable task) default voidTaskScheduler.submit(ThrowingRunnable task) Immediately schedules a task for execution.Constructors in io.fluxzero.common with parameters of type ThrowingRunnable -
Uses of ThrowingRunnable in io.fluxzero.common.handling
Methods in io.fluxzero.common.handling with parameters of type ThrowingRunnableModifier and TypeMethodDescriptionstatic HandlerInvokerHandlerInvoker.run(ThrowingRunnable task) Wraps aThrowingRunnablein aHandlerInvoker.