Uses of Interface
org.apache.commons.lang3.function.FailableSupplier
-
Packages that use FailableSupplier Package Description org.apache.commons.lang3.builder Assists in creating consistentequals(Object)
,toString()
,hashCode()
, andcompareTo(Object)
methods.org.apache.commons.lang3.concurrent Provides support classes for multi-threaded programming.org.apache.commons.lang3.function Provides functional interfaces to complement those injava.lang.function
and utilities for working with Java 8 lambdas. -
-
Uses of FailableSupplier in org.apache.commons.lang3.builder
Classes in org.apache.commons.lang3.builder that implement FailableSupplier Modifier and Type Class Description class
AbstractSupplier<T,B extends AbstractSupplier<T,B,E>,E extends java.lang.Throwable>
Abstracts supplying an instance ofT
. -
Uses of FailableSupplier in org.apache.commons.lang3.concurrent
Subinterfaces of FailableSupplier in org.apache.commons.lang3.concurrent Modifier and Type Interface Description interface
ConcurrentInitializer<T>
Defines the thread-safe initialization of objects.Classes in org.apache.commons.lang3.concurrent that implement FailableSupplier Modifier and Type Class Description class
AbstractConcurrentInitializer<T,E extends java.lang.Exception>
Abstracts and defines operations forConcurrentInitializer
implementations.static class
AbstractConcurrentInitializer.AbstractBuilder<I extends AbstractConcurrentInitializer<T,E>,T,B extends AbstractConcurrentInitializer.AbstractBuilder<I,T,B,E>,E extends java.lang.Exception>
Builds a new instance for subclasses.class
AtomicInitializer<T>
A specialized implementation of theConcurrentInitializer
interface based on anAtomicReference
variable.static class
AtomicInitializer.Builder<I extends AtomicInitializer<T>,T>
Builds a new instance.class
AtomicSafeInitializer<T>
A specializedConcurrentInitializer
implementation which is similar toAtomicInitializer
, but ensures that theAbstractConcurrentInitializer.initialize()
method is called only once.static class
AtomicSafeInitializer.Builder<I extends AtomicSafeInitializer<T>,T>
Builds a new instance.class
BackgroundInitializer<T>
A class that allows complex initialization operations in a background task.static class
BackgroundInitializer.Builder<I extends BackgroundInitializer<T>,T>
Builds a new instance.class
CallableBackgroundInitializer<T>
A specializedBackgroundInitializer
implementation that wraps aCallable
object.class
ConstantInitializer<T>
A very simple implementation of theConcurrentInitializer
interface which always returns the same object.class
LazyInitializer<T>
This class provides a generic implementation of the lazy initialization pattern.static class
LazyInitializer.Builder<I extends LazyInitializer<T>,T>
Builds a new instance.class
MultiBackgroundInitializer
A specializedBackgroundInitializer
implementation that can deal with multiple background initialization tasks.Methods in org.apache.commons.lang3.concurrent that return FailableSupplier Modifier and Type Method Description FailableSupplier<T,? extends java.lang.Exception>
AbstractConcurrentInitializer.AbstractBuilder. getInitializer()
Gets the initializer supplier called byAbstractConcurrentInitializer.initialize()
.Methods in org.apache.commons.lang3.concurrent with parameters of type FailableSupplier Modifier and Type Method Description B
AbstractConcurrentInitializer.AbstractBuilder. setInitializer(FailableSupplier<T,? extends java.lang.Exception> initializer)
Sets the initializer supplier called byAbstractConcurrentInitializer.initialize()
. -
Uses of FailableSupplier in org.apache.commons.lang3.function
Fields in org.apache.commons.lang3.function declared as FailableSupplier Modifier and Type Field Description static FailableSupplier
FailableSupplier. NUL
Returns the singleton supplier that always returns null.Methods in org.apache.commons.lang3.function that return FailableSupplier Modifier and Type Method Description static <R> FailableSupplier<R,java.lang.Throwable>
MethodInvokers. asFailableSupplier(java.lang.reflect.Method method)
Produces aFailableSupplier
for a given a supplier Method.static <T,E extends java.lang.Exception>
FailableSupplier<T,E>FailableSupplier. nul()
Returns the singleton supplier that always returns null.Methods in org.apache.commons.lang3.function with parameters of type FailableSupplier Modifier and Type Method Description static <T> java.util.function.Supplier<T>
Failable. asSupplier(FailableSupplier<T,?> supplier)
Converts the givenFailableSupplier
into a standardSupplier
.static <T,E extends java.lang.Throwable>
TFailable. get(FailableSupplier<T,E> supplier)
Invokes a supplier, and returns the result.
-