| Package | Description |
|---|---|
| org.apache.flink.util | |
| org.apache.flink.util.function |
| Modifier and Type | Method and Description |
|---|---|
static <E extends Throwable> |
LambdaUtil.withContextClassLoader(ClassLoader cl,
ThrowingRunnable<E> r)
Runs the given runnable with the given ClassLoader as the thread's
context class loader. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
RunnableWithException
Similar to a
Runnable, this interface is used to capture a block of code
to be executed. |
| Modifier and Type | Method and Description |
|---|---|
static Runnable |
ThrowingRunnable.unchecked(ThrowingRunnable<?> throwingRunnable)
Converts a
ThrowingRunnable into a Runnable which throws all checked exceptions
as unchecked. |
Copyright © 2014–2018 The Apache Software Foundation. All rights reserved.