Package | Description |
---|---|
org.jboss.threads |
Modifier and Type | Method and Description |
---|---|
static InterruptHandler |
JBossThread.getAndSetInterruptHandler(InterruptHandler newInterruptHandler)
Swap the current thread's active interrupt handler.
|
Modifier and Type | Method and Description |
---|---|
static <T,U,E extends Exception> |
JBossThread.acceptWithInterruptHandler(InterruptHandler interruptHandler,
org.wildfly.common.function.ExceptionBiConsumer<T,U,E> function,
T param1,
U param2) |
static <T,E extends Exception> |
JBossThread.acceptWithInterruptHandler(InterruptHandler interruptHandler,
org.wildfly.common.function.ExceptionConsumer<T,E> function,
T param1) |
static <T,E extends Exception> |
JBossThread.acceptWithInterruptHandler(InterruptHandler interruptHandler,
org.wildfly.common.function.ExceptionObjIntConsumer<T,E> function,
T param1,
int param2) |
static <T,E extends Exception> |
JBossThread.acceptWithInterruptHandler(InterruptHandler interruptHandler,
org.wildfly.common.function.ExceptionObjLongConsumer<T,E> function,
T param1,
long param2) |
static <T,U,R,E extends Exception> |
JBossThread.applyWithInterruptHandler(InterruptHandler interruptHandler,
org.wildfly.common.function.ExceptionBiFunction<T,U,R,E> function,
T param1,
U param2) |
static <T,R,E extends Exception> |
JBossThread.applyWithInterruptHandler(InterruptHandler interruptHandler,
org.wildfly.common.function.ExceptionFunction<T,R,E> function,
T param1) |
static InterruptHandler |
JBossThread.getAndSetInterruptHandler(InterruptHandler newInterruptHandler)
Swap the current thread's active interrupt handler.
|
static <R,E extends Exception> |
JBossThread.getWithInterruptHandler(InterruptHandler interruptHandler,
org.wildfly.common.function.ExceptionSupplier<R,E> function) |
void |
Messages_$logger.interruptHandlerThrew(Throwable cause,
InterruptHandler interruptHandler) |
static <E extends Exception> |
JBossThread.runWithInterruptHandler(InterruptHandler interruptHandler,
org.wildfly.common.function.ExceptionRunnable<E> function) |
Copyright © 2023 JBoss by Red Hat. All rights reserved.