Java Code Examples for org.apache.flink.runtime.execution.librarycache.LibraryCacheManager#ClassLoaderHandle
The following examples show how to use
org.apache.flink.runtime.execution.librarycache.LibraryCacheManager#ClassLoaderHandle .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: TaskExecutor.java From flink with Apache License 2.0 | 4 votes |
@Override public LibraryCacheManager.ClassLoaderHandle getClassLoaderHandle() { return classLoaderLease; }
Example 2
Source File: DefaultJobTable.java From flink with Apache License 2.0 | 4 votes |
@Override public LibraryCacheManager.ClassLoaderHandle getClassLoaderHandle() { verifyJobIsNotClosed(); return jobServices.getClassLoaderHandle(); }
Example 3
Source File: TestTaskBuilder.java From flink with Apache License 2.0 | 4 votes |
public TestTaskBuilder setClassLoaderHandle(LibraryCacheManager.ClassLoaderHandle classLoaderHandle) { this.classLoaderHandle = classLoaderHandle; return this; }
Example 4
Source File: TestingJobServices.java From flink with Apache License 2.0 | 4 votes |
private TestingJobServices( Supplier<LibraryCacheManager.ClassLoaderHandle> classLoaderHandleSupplier, Runnable closeRunnable) { this.classLoaderHandleSupplier = classLoaderHandleSupplier; this.closeRunnable = closeRunnable; }
Example 5
Source File: TestingJobServices.java From flink with Apache License 2.0 | 4 votes |
@Override public LibraryCacheManager.ClassLoaderHandle getClassLoaderHandle() { return classLoaderHandleSupplier.get(); }
Example 6
Source File: TestingJobServices.java From flink with Apache License 2.0 | 4 votes |
public Builder setClassLoaderHandleSupplier(Supplier<LibraryCacheManager.ClassLoaderHandle> classLoaderHandleSupplier) { this.classLoaderHandleSupplier = classLoaderHandleSupplier; return this; }
Example 7
Source File: JobTable.java From flink with Apache License 2.0 | 2 votes |
/** * Gets the {@link LibraryCacheManager.ClassLoaderHandle} for the associated job. * * @return {@link LibraryCacheManager.ClassLoaderHandle} for the associated job */ LibraryCacheManager.ClassLoaderHandle getClassLoaderHandle();
Example 8
Source File: JobTable.java From flink with Apache License 2.0 | votes |
LibraryCacheManager.ClassLoaderHandle getClassLoaderHandle();