Uses of Interface
edu.iu.UnsafeSupplier
Packages that use UnsafeSupplier
Package
Description
Includes basic Java utilities classes and interfaces.
Database connection pooling utilities.
Type Introspection Implementation Module.
-
Uses of UnsafeSupplier in edu.iu
Classes in edu.iu that implement UnsafeSupplierModifier and TypeClassDescriptionclass
Controller for executing utility tasks.Methods in edu.iu with parameters of type UnsafeSupplierModifier and TypeMethodDescriptionstatic <T> T
IuException.checked
(UnsafeSupplier<T> supplier) Gracefully gets from anUnsafeSupplier
.static <T,
T1 extends Exception>
TIuException.checked
(Class<T1> expectedExceptionClass, UnsafeSupplier<T> supplier) Gracefully gets from anUnsafeSupplier
.IuException.checked
(Class<T1> expectedExceptionClass1, Class<T2> expectedExceptionClass2, UnsafeSupplier<T> supplier) Gracefully gets from anUnsafeSupplier
.IuException.checked
(Class<T1> expectedExceptionClass1, Class<T2> expectedExceptionClass2, Class<T3> expectedExceptionClass3, UnsafeSupplier<T> supplier) Gracefully gets from anUnsafeSupplier
.static <R> R
IuException.checkedInvocation
(UnsafeSupplier<R> supplier) Gracefully invokes amethod or constructor
.static <R,
T extends Exception>
RIuException.checkedInvocation
(Class<T> expectedExceptionClass, UnsafeSupplier<R> supplier) Gracefully invokes amethod or constructor
.IuException.checkedInvocation
(Class<T1> expectedExceptionClass1, Class<T2> expectedExceptionClass2, UnsafeSupplier<R> supplier) Gracefully invokes amethod or constructor
.IuException.checkedInvocation
(Class<T1> expectedExceptionClass1, Class<T2> expectedExceptionClass2, Class<T3> expectedExceptionClass3, UnsafeSupplier<R> supplier) Gracefully invokes amethod or constructor
.static <T> T
IuUtilityTaskController.getBefore
(UnsafeSupplier<T> factory, Instant expires) Gets a value from a utility factory.static <T> T
IuException.unchecked
(UnsafeSupplier<T> supplier) Gracefully gets from anUnsafeSupplier
.static <T> T
IuException.unchecked
(UnsafeSupplier<T> supplier, String message) Gracefully gets from anUnsafeSupplier
.static <R> R
IuException.uncheckedInvocation
(UnsafeSupplier<R> supplier) Gracefully invokes a supplier assumed to wrapinvocation
.Constructors in edu.iu with parameters of type UnsafeSupplierModifierConstructorDescriptionIuUtilityTaskController
(UnsafeSupplier<T> task, Instant expires) Creates a utility task controller. -
Uses of UnsafeSupplier in edu.iu.jdbc.pool
Constructors in edu.iu.jdbc.pool with parameters of type UnsafeSupplierModifierConstructorDescriptionprotected
IuCommonDataSource
(UnsafeSupplier<? extends PooledConnection> factory) Default constructor. -
Uses of UnsafeSupplier in iu.type
Methods in iu.type with parameters of type UnsafeSupplierModifier and TypeMethodDescription(package private) static <T> T
TypeUtils.callWithContext
(ClassLoader contextLoader, UnsafeSupplier<T> supplier) Invokes anUnsafeSupplier
using a specific context class loader.(package private) static <T> T
TypeUtils.callWithContext
(AnnotatedElement element, UnsafeSupplier<T> supplier) Invokes anUnsafeSupplier
using a context appropriate for an annotated element.