Package | Description |
---|---|
org.helenus.util | |
org.helenus.util.function |
Modifier and Type | Method and Description |
---|---|
static <E extends Throwable> |
Inhibit.interruptions(E2Runnable<E,InterruptedException> cmd,
EConsumer<InterruptedException,E> handle)
Invokes the specified command while inhibiting Java interruptions and
propagating them after.
|
static <E extends Exception> |
Inhibit.interruptionsAndExceptions(ERunnable<Exception> cmd,
EConsumer<Exception,E> handle)
Invokes the specified command while inhibiting Java exceptions and
interruptions and propagating the interruptions properly after; runtime
exceptions are still propagated as expected.
|
static <E extends Exception> |
Inhibit.interruptionsWhileRetryingAndExceptions(ERunnable<Exception> cmd,
EConsumer<Exception,E> handle)
Invokes the specified command while inhibiting Java exceptions and
interruptions and propagating the interruptions properly after.
|
static <E extends Throwable> |
Inhibit.throwables(ERunnable<Throwable> cmd,
EConsumer<Throwable,E> handle)
Invokes the specified command while inhibiting Java errors and
exceptions.
|
static <T,E extends Throwable> |
Inhibit.throwables(T arg,
EConsumer<T,Throwable> cmd,
EConsumer<Throwable,E> handle)
Invokes the specified consumer while inhibiting Java errors and
exceptions.
|
static <T,E extends Throwable> |
Inhibit.throwables(T arg,
EConsumer<T,Throwable> cmd,
EConsumer<Throwable,E> handle)
Invokes the specified consumer while inhibiting Java errors and
exceptions.
|
static <E extends Throwable> |
Inhibit.unwrappedThrowables(ERunnable<Throwable> cmd,
EConsumer<Throwable,E> handle)
Invokes the specified command while inhibiting Java errors, exceptions,
and unwrapping target exceptions.
|
static <T,E extends Throwable> |
Inhibit.unwrappedThrowables(T arg,
EConsumer<T,Throwable> cmd,
EConsumer<Throwable,E> handle)
Invokes the specified consumer while inhibiting Java errors, exceptions,
and unwrapping target exceptions.
|
static <T,E extends Throwable> |
Inhibit.unwrappedThrowables(T arg,
EConsumer<T,Throwable> cmd,
EConsumer<Throwable,E> handle)
Invokes the specified consumer while inhibiting Java errors, exceptions,
and unwrapping target exceptions.
|
Modifier and Type | Method and Description |
---|---|
default EConsumer<T,E> |
EConsumer.andThen(EConsumer<? super T,E> after)
Returns a composed
EConsumer that performs, in sequence, this
operation followed by the after operation. |
Modifier and Type | Method and Description |
---|---|
default EConsumer<T,E> |
EConsumer.andThen(EConsumer<? super T,E> after)
Returns a composed
EConsumer that performs, in sequence, this
operation followed by the after operation. |
Copyright (C) 2015-2017 The Helenus Driver Project Authors.