public abstract class AbstractResourceManagerDriver<WorkerType extends ResourceIDRetrievable> extends Object implements ResourceManagerDriver<WorkerType>
ResourceManagerDriver.| 限定符和类型 | 字段和说明 |
|---|---|
protected org.apache.flink.configuration.Configuration |
flinkClientConfig |
protected org.apache.flink.configuration.Configuration |
flinkConfig |
protected org.slf4j.Logger |
log |
| 构造器和说明 |
|---|
AbstractResourceManagerDriver(org.apache.flink.configuration.Configuration flinkConfig,
org.apache.flink.configuration.Configuration flinkClientConfig) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected Executor |
getIoExecutor() |
protected org.apache.flink.util.concurrent.ScheduledExecutor |
getMainThreadExecutor() |
protected ResourceEventHandler<WorkerType> |
getResourceEventHandler() |
void |
initialize(ResourceEventHandler<WorkerType> resourceEventHandler,
org.apache.flink.util.concurrent.ScheduledExecutor mainThreadExecutor,
Executor ioExecutor)
Initialize the deployment specific components.
|
protected abstract void |
initializeInternal()
Initialize the deployment specific components.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitderegisterApplication, releaseResource, requestResource, terminateprotected final org.slf4j.Logger log
protected final org.apache.flink.configuration.Configuration flinkConfig
protected final org.apache.flink.configuration.Configuration flinkClientConfig
public AbstractResourceManagerDriver(org.apache.flink.configuration.Configuration flinkConfig,
org.apache.flink.configuration.Configuration flinkClientConfig)
protected final ResourceEventHandler<WorkerType> getResourceEventHandler()
protected final org.apache.flink.util.concurrent.ScheduledExecutor getMainThreadExecutor()
protected final Executor getIoExecutor()
public final void initialize(ResourceEventHandler<WorkerType> resourceEventHandler, org.apache.flink.util.concurrent.ScheduledExecutor mainThreadExecutor, Executor ioExecutor) throws Exception
ResourceManagerDriverinitialize 在接口中 ResourceManagerDriver<WorkerType extends ResourceIDRetrievable>resourceEventHandler - Handler that handles resource events.mainThreadExecutor - Rpc main thread executor.ioExecutor - IO executor.ExceptionCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.