Interface LibraryCacheManager.ClassLoaderLease
-
- All Superinterfaces:
LibraryCacheManager.ClassLoaderHandle
- Enclosing interface:
- LibraryCacheManager
public static interface LibraryCacheManager.ClassLoaderLease extends LibraryCacheManager.ClassLoaderHandle
Lease which allows to signal when the user code class loader is no longer needed.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
release()
Releases the lease to the user code class loader for the associated job.-
Methods inherited from interface org.apache.flink.runtime.execution.librarycache.LibraryCacheManager.ClassLoaderHandle
getOrResolveClassLoader
-
-
-
-
Method Detail
-
release
void release()
Releases the lease to the user code class loader for the associated job.This method signals that the lease holder not longer needs the user code class loader for the associated job. Once all leases for a job are released, the library cache manager is allowed to release the associated user code class loader.
-
-