public class FlinkUserCodeClassLoaders extends Object
Modifier and Type | Class and Description |
---|---|
static class |
FlinkUserCodeClassLoaders.ParentFirstClassLoader
Regular URLClassLoader that first loads from the parent and only after that from the URLs.
|
static class |
FlinkUserCodeClassLoaders.ResolveOrder
Class resolution order for Flink URL
ClassLoader . |
Modifier and Type | Method and Description |
---|---|
static URLClassLoader |
childFirst(URL[] urls,
ClassLoader parent,
String[] alwaysParentFirstPatterns,
java.util.function.Consumer<Throwable> classLoadingExceptionHandler,
boolean checkClassLoaderLeak) |
static URLClassLoader |
create(FlinkUserCodeClassLoaders.ResolveOrder resolveOrder,
URL[] urls,
ClassLoader parent,
String[] alwaysParentFirstPatterns,
java.util.function.Consumer<Throwable> classLoadingExceptionHandler,
boolean checkClassLoaderLeak) |
static URLClassLoader |
parentFirst(URL[] urls,
ClassLoader parent,
java.util.function.Consumer<Throwable> classLoadingExceptionHandler,
boolean checkClassLoaderLeak) |
public static URLClassLoader parentFirst(URL[] urls, ClassLoader parent, java.util.function.Consumer<Throwable> classLoadingExceptionHandler, boolean checkClassLoaderLeak)
public static URLClassLoader childFirst(URL[] urls, ClassLoader parent, String[] alwaysParentFirstPatterns, java.util.function.Consumer<Throwable> classLoadingExceptionHandler, boolean checkClassLoaderLeak)
public static URLClassLoader create(FlinkUserCodeClassLoaders.ResolveOrder resolveOrder, URL[] urls, ClassLoader parent, String[] alwaysParentFirstPatterns, java.util.function.Consumer<Throwable> classLoadingExceptionHandler, boolean checkClassLoaderLeak)
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.