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 Details

    • 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.