Uses of Interface
edu.iu.UnsafeFunction
Packages that use UnsafeFunction
Package
Description
Includes basic Java utilities classes and interfaces.
Functional programming adapters for the
Jakarta JSON
Processing and Java
HTTP Client modules.
Database connection pooling utilities.
Type introspection base utilities.
-
Uses of UnsafeFunction in edu.iu
Classes in edu.iu that implement UnsafeFunctionModifier and TypeClassDescriptionclassControls parallel processing over a bounded workload.Methods in edu.iu with parameters of type UnsafeFunctionModifier and TypeMethodDescriptionIuException.checked(Class<T1> expectedExceptionClass1, Class<T2> expectedExceptionClass2, Class<T3> expectedExceptionClass3, T argument, UnsafeFunction<T, R> function) Gracefully applies anUnsafeFunction.IuException.checked(Class<T1> expectedExceptionClass1, Class<T2> expectedExceptionClass2, T argument, UnsafeFunction<T, R> function) Gracefully applies anUnsafeFunction.static <T,R, T1 extends Exception>
RIuException.checked(Class<T1> expectedExceptionClass, T argument, UnsafeFunction<T, R> function) Gracefully applies anUnsafeFunction.static <T,R> R IuException.checked(T argument, UnsafeFunction<T, R> function) Gracefully applies anUnsafeFunction.static <T extends AutoCloseable,R>
RIuException.initialize(T resource, UnsafeFunction<T, R> initializer) Gracefully initializes a component that depends on anAutoCloseableresource,closingthe resource and suppressing any close errors before rethrowing a checked exception if the component fails to initialize.static <T,R> R IuException.unchecked(T argument, UnsafeFunction<T, R> function) Gracefully applies anUnsafeFunction. -
Uses of UnsafeFunction in edu.iu.client
Subinterfaces of UnsafeFunction in edu.iu.clientModifier and TypeInterfaceDescriptioninterfaceFunctional interface for converting a validated HTTP response. -
Uses of UnsafeFunction in edu.iu.jdbc.pool
Methods in edu.iu.jdbc.pool with parameters of type UnsafeFunctionModifier and TypeMethodDescriptionvoidIuCommonDataSource.setConnectionInitializer(UnsafeFunction<Connection, Connection> connectionInitializer) Sets an optional transform function to be apply directly before checking out a connection from the pool.Constructors in edu.iu.jdbc.pool with parameters of type UnsafeFunctionModifierConstructorDescriptionIuPooledConnection(Instant initTime, PooledConnection physicalConnection, UnsafeFunction<Connection, Connection> connectionInitializer, Duration abandonedConnectionTimeout, Consumer<IuPooledConnection> onClose) Constructor. -
Uses of UnsafeFunction in edu.iu.type.base
Methods in edu.iu.type.base with parameters of type UnsafeFunctionModifier and TypeMethodDescriptionstatic <T> TTemporaryFile.init(UnsafeFunction<Path, T> tempFileInitializer) Initializes a temp file.