Uses of Interface
org.wildfly.clustering.function.Consumer
Packages that use Consumer
Package
Description
-
Uses of Consumer in org.wildfly.clustering.context
Methods in org.wildfly.clustering.context with parameters of type ConsumerModifier and TypeMethodDescriptionstatic <C> ContextReference<C> static <C> ContextReference<C> ContextReference.of(Supplier<C> supplier, Consumer<C> consumer, UnaryOperator<C> operator) -
Uses of Consumer in org.wildfly.clustering.function
Classes in org.wildfly.clustering.function that implement ConsumerFields in org.wildfly.clustering.function declared as ConsumerFields in org.wildfly.clustering.function with type parameters of type ConsumerModifier and TypeFieldDescriptionstatic final Function<System.Logger.Level, Consumer<Exception>> Consumer.EXCEPTION_LOGGERstatic final Map<System.Logger.Level, Consumer<Exception>> Consumer.EXCEPTION_LOGGERSstatic final Map<System.Logger.Level, Consumer<AutoCloseable>> Consumer.SILENT_CLOSERSMethods in org.wildfly.clustering.function that return ConsumerModifier and TypeMethodDescriptionstatic <V> Consumer<V> Returns a composite consumer that delegates to zero or more consumers.static <V extends AutoCloseable>
Consumer<V> Consumer.close()Returns a consumer that silently closes its object.static <V extends AutoCloseable>
Consumer<V> Returns a consumer that silently closes its object using the specified exception handler.default <V> Consumer<V> Returns a mapped consumer, that invokes this consumer using result of the specified function.Consumer.debug()Returns a consumer that logs an exception at theSystem.Logger.Level.DEBUGlevel.static <V> Consumer<V> Consumer.empty()Returns a consumer that performs no action.Consumer.error()Returns a consumer that logs an exception at theSystem.Logger.Level.ERRORlevel.Consumer.handle(BiConsumer<T, RuntimeException> handler) Returns a new consumer that delegates to the specified handler in the event of an exception.Consumer.info()Returns a consumer that logs an exception at theSystem.Logger.Level.INFOlevel.Consumer.log(System.Logger.Level level) Returns a consumer that logs an exception at the specified level.static <V> Consumer<V> Returns a consumer that runs the specified task, ignoring its parameter.Consumer.warning()Returns a consumer that logs an exception at theSystem.Logger.Level.WARNINGlevel.Methods in org.wildfly.clustering.function with parameters of type ConsumerModifier and TypeMethodDescriptionstatic <V extends AutoCloseable>
Consumer<V> Returns a consumer that silently closes its object using the specified exception handler.default RunnableRunnable.handle(Consumer<RuntimeException> handler) Returns a new runnable that delegates to the specified handler in the event of an exception. -
Uses of Consumer in org.wildfly.clustering.marshalling.protostream
Classes in org.wildfly.clustering.marshalling.protostream that implement ConsumerModifier and TypeClassDescriptionstatic classstatic class