Uses of Interface
org.wildfly.clustering.function.Function
Packages that use Function
Package
Description
-
Uses of Function in org.wildfly.clustering.cache.caffeine
Classes in org.wildfly.clustering.cache.caffeine that implement FunctionModifier and TypeClassDescriptionclassCacheFactory<K,V> A factory for creating a Caffeine cache using a given configuration. -
Uses of Function in org.wildfly.clustering.function
Subinterfaces of Function in org.wildfly.clustering.functionFields in org.wildfly.clustering.function declared as FunctionModifier and TypeFieldDescriptionstatic final Function<System.Logger.Level, Consumer<Exception>> Consumer.EXCEPTION_LOGGERA function returning the exception logger for a given levelstatic final Function<?, ?> Function.IDENTITYAn identity function that always returns its parameterstatic final Function<?, ?> Function.NULLA function that always returns null.Methods in org.wildfly.clustering.function that return FunctionModifier and TypeMethodDescriptionBiFunction.composeUnary(Function<? super V, ? extends T> before1, Function<? super V, ? extends U> before2) Composes a unary function that applies the specified functions to its parameter as inputs to this function.static <T,R> Function <T, R> Function.empty()Returns a function that returns its parameter.Returns aMap.Entryfunction from the specified key and value functions.Function.handle(BiFunction<T, RuntimeException, R> handler) Returns a new function that delegates to this function using the specified exception handler.static <T extends R, R>
Function<T, R> Function.identity()Returns a function that returns its parameter.static <T,R> Function <T, R> Returns a function that accepts its parameter via the specified consumer and returns the value returned by the specified supplier.static <T,R> Function <T, R> Function.of(R result) Returns a function that always returns the specified value, ignoring its parameter.Function.optional()Returns an optional function that applies this function to an optional value.Returns a function that applies this function if its parameter matches the specified predicate, or returns the value provided by the specified supplier otherwise.Consumer.thenReturn(Supplier<R> factory) Returns a function that returns the value from the specified supplier after accepting its parameter via this consumer.Function.withDefault(Predicate<T> predicate, Supplier<T> defaultValue) Returns a function that applies this function to the value returned by the specified provider if its value does not match the specified predicate.Function.withMonitor(Function<T, M> monitorFunction) Returns a new function that applies this function while holding the monitor returned by the specified function.Methods in org.wildfly.clustering.function with parameters of type Function -
Uses of Function in org.wildfly.clustering.server.util
Methods in org.wildfly.clustering.server.util with parameters of type FunctionModifier and TypeMethodDescription<R> BlockingReference.Writer<R> <R> BlockingReference.Writer<R> Returns a mapped writer, whose mapping function is invoked while holding a lock. -
Uses of Function in org.wildfly.clustering.session.infinispan.embedded
Classes in org.wildfly.clustering.session.infinispan.embedded that implement FunctionModifier and TypeClassDescriptionclassSessionAttributeActivationNotifierFactory<CC,S, L, SC> Factory for creating a SessionAttributeActivationNotifier for a given session identifier. -
Uses of Function in org.wildfly.clustering.session.infinispan.embedded.attributes
Constructors in org.wildfly.clustering.session.infinispan.embedded.attributes with parameters of type FunctionModifierConstructorDescriptionCoarseSessionAttributesFactory(SessionAttributesFactoryConfiguration<Map<String, Object>, V> configuration, BiFunction<ImmutableSession, C, SessionActivationNotifier> notifierFactory, Function<String, SessionAttributeActivationNotifier> detachedNotifierFactory, EmbeddedCacheConfiguration infinispan) Creates a factory for session attributes.FineSessionAttributesFactory(SessionAttributesFactoryConfiguration<Object, V> configuration, BiFunction<ImmutableSession, C, SessionAttributeActivationNotifier> notifierFactory, Function<String, SessionAttributeActivationNotifier> detachedNotifierFactory, EmbeddedCacheConfiguration infinispan) Creates a factory for fine-granularity session attributes entry.