Class ClientResourceManager
- java.lang.Object
-
- org.apache.flink.table.resource.ResourceManager
-
- org.apache.flink.table.client.resource.ClientResourceManager
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
@Internal public class ClientResourceManager extends ResourceManager
TheClientResourceManager
is able to remove the registered JAR resources with the specified jar path.After removing the JAR resource, the
ResourceManager
is able to register the JAR resource with the same JAR path. Please notice that the removal doesn't promise the loadedClass
from the removed jar is inaccessible.
-
-
Field Summary
-
Fields inherited from class org.apache.flink.table.resource.ResourceManager
localResourceDir, resourceInfos, userClassLoader
-
-
Constructor Summary
Constructors Constructor Description ClientResourceManager(Configuration config, MutableURLClassLoader userClassLoader)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description URL
unregisterJarResource(String jarPath)
-
Methods inherited from class org.apache.flink.table.resource.ResourceManager
addJarConfiguration, checkPath, close, copy, createResourceManager, createUserClassLoader, declareFunctionResources, exists, getLocalJarResources, getResources, getURLFromPath, getUserClassLoader, registerFileResource, registerJarResources, registerPythonResources, syncFileResource, unregisterFunctionResources
-
-
-
-
Constructor Detail
-
ClientResourceManager
public ClientResourceManager(Configuration config, MutableURLClassLoader userClassLoader)
-
-