Uses of Interface
org.wildfly.clustering.function.Runnable
-
Uses of Runnable in org.wildfly.clustering.function
Fields in org.wildfly.clustering.function declared as RunnableModifier and TypeFieldDescriptionstatic final RunnableRunnable.EMPTYA runner that performs no action.Methods in org.wildfly.clustering.function that return RunnableModifier and TypeMethodDescriptionstatic <T> RunnableReturns a task that consumes a value from the specified supplier.default RunnableReturns a task that runs the specified task after running this task.static RunnableRunnable.empty()Returns an empty task.default RunnableRunnable.handle(Consumer<RuntimeException> handler) Returns a new runnable that delegates to the specified handler in the event of an exception.static RunnableReturns a composite runner that runs the specified runners.default RunnableDoubleSupplier.thenAccept(DoubleConsumer consumer) Returns a runner that accepts the value returned by this supplier via the specified consumer.default RunnableIntSupplier.thenAccept(IntConsumer consumer) Returns a runner that accepts the value returned by this supplier via the specified consumer.default RunnableLongSupplier.thenAccept(LongConsumer consumer) Returns a runner that accepts the value returned by this supplier via the specified consumer.default RunnableSupplier.thenAccept(Consumer<T> consumer) Returns aRunnablethat consumes the supplied value.