public interface LibraryCacheManager
In order to obtain a user code class loader, one first needs to obtain a
LibraryCacheManager.ClassLoaderLease for a given
JobID. At first, the
unresolved. In order to obtain the user class loader one needs to resolve it by specifying the
required jar files and class paths. The user code class loader for a job is valid as long as
there exists a valid
LibraryCacheManager.ClassLoaderLease becomes invalid once it
|Modifier and Type||Interface and Description|
Handle to retrieve a user code class loader for the associated job.
Lease which allows to signal when the user code class loader is no longer needed.
LibraryCacheManager.ClassLoaderLease registerClassLoaderLease(JobID jobId)
jobId- jobId for which to register a new class loader lease
LibraryCacheManager.ClassLoaderLeaseand release all registered user code class loaders.
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.