Uses of Interface
edu.iu.UnsafeRunnable
Packages that use UnsafeRunnable
Package
Description
Includes basic Java utilities classes and interfaces.
Database connection pooling utilities.
Type introspection base utilities.
Type Introspection Implementation Module.
-
Uses of UnsafeRunnable in edu.iu
Methods in edu.iu with parameters of type UnsafeRunnableModifier and TypeMethodDescriptionstatic voidIuException.checked(UnsafeRunnable runnable) Gracefully runs anUnsafeRunnable.static <T extends Exception>
voidIuException.checked(Class<T> expectedExceptionClass, UnsafeRunnable runnable) Gracefully runs anUnsafeRunnable.IuException.checked(Class<T1> expectedExceptionClass1, Class<T2> expectedExceptionClass2, UnsafeRunnable runnable) Gracefully runs anUnsafeRunnable.IuException.checked(Class<T1> expectedExceptionClass1, Class<T2> expectedExceptionClass2, Class<T3> expectedExceptionClass3, UnsafeRunnable runnable) Gracefully runs anUnsafeRunnable.static voidIuUtilityTaskController.doBefore(UnsafeRunnable task, Instant expires) Runs a utility task.static voidIuException.suppress(UnsafeRunnable... tasks) Runs a sequence of tasks with error suppression.static ThrowableIuException.suppress(Throwable throwable, UnsafeRunnable runnable) Runs anUnsafeRunnableand adds any exception thrown as suppressed by an another exception.static voidIuException.unchecked(UnsafeRunnable runnable) Gracefully runs anUnsafeRunnable.static voidIuException.unchecked(UnsafeRunnable runnable, String message) Gracefully runs anUnsafeRunnable.Method parameters in edu.iu with type arguments of type UnsafeRunnableModifier and TypeMethodDescriptionstatic voidIuException.suppress(Iterable<UnsafeRunnable> tasks) Runs a sequence of tasks with error suppression.Constructors in edu.iu with parameters of type UnsafeRunnableModifierConstructorDescriptionIuCachedValue(V value, Duration timeToLive, UnsafeRunnable onExpire) Constructor. -
Uses of UnsafeRunnable in edu.iu.jdbc.pool
Methods in edu.iu.jdbc.pool with parameters of type UnsafeRunnableModifier and TypeMethodDescriptionvoidIuCommonDataSource.setOnClose(UnsafeRunnable onClose) Sets an optional shutdown hook to be invoked fromIuCommonDataSource.close()after all physical connections managed by the pool have been closed.Constructor parameters in edu.iu.jdbc.pool with type arguments of type UnsafeRunnableModifierConstructorDescriptionIuStatementHandler(String sql, PreparedStatement statement, UnsafeBiConsumer<UnsafeRunnable, Throwable> closeHandler) Constructor. -
Uses of UnsafeRunnable in edu.iu.type.base
Methods in edu.iu.type.base that return UnsafeRunnableModifier and TypeMethodDescriptionstatic UnsafeRunnableTemporaryFile.init(UnsafeRunnable task) Tracks temp files created by an initialization task, and either deletes all created if an error is thrown, or returns a thunk that may be used to deletes all files on teardown.Methods in edu.iu.type.base with parameters of type UnsafeRunnableModifier and TypeMethodDescriptionstatic UnsafeRunnableTemporaryFile.init(UnsafeRunnable task) Tracks temp files created by an initialization task, and either deletes all created if an error is thrown, or returns a thunk that may be used to deletes all files on teardown. -
Uses of UnsafeRunnable in iu.type
Methods in iu.type with parameters of type UnsafeRunnableModifier and TypeMethodDescription(package private) static voidTypeUtils.callWithContext(ClassLoader contextLoader, UnsafeRunnable runnable) Invokes anUnsafeRunnableusing a specific context class loader.(package private) static ComponentComponentFactory.createLegacy(Component parent, ClassLoader parentLoader, Queue<ComponentArchive> archives, UnsafeRunnable destroy) Creates a modular component.(package private) static ComponentComponentFactory.createModular(Component parent, ClassLoader parentLoader, ModuleLayer parentLayer, Iterable<ComponentArchive> archives, Consumer<ModuleLayer.Controller> controllerCallback, UnsafeRunnable destroy) Creates a modular component.Constructors in iu.type with parameters of type UnsafeRunnableModifierConstructorDescription(package private)Component(Component parent, ClassLoader classLoader, ModuleLayer moduleLayer, Iterable<ComponentArchive> archives, UnsafeRunnable onClose) Constructor for use fromComponentFactory.