public static class DefaultBlocklistHandler.Factory extends Object implements BlocklistHandler.Factory
DefaultBlocklistHandler.| 构造器和说明 |
|---|
Factory(java.time.Duration timeoutCheckInterval) |
| 限定符和类型 | 方法和说明 |
|---|---|
BlocklistHandler |
create(BlocklistContext blocklistContext,
java.util.function.Function<ResourceID,String> taskManagerNodeIdRetriever,
org.apache.flink.runtime.concurrent.ComponentMainThreadExecutor mainThreadExecutor,
org.slf4j.Logger log)
Instantiates a
BlocklistHandler. |
public BlocklistHandler create(BlocklistContext blocklistContext, java.util.function.Function<ResourceID,String> taskManagerNodeIdRetriever, org.apache.flink.runtime.concurrent.ComponentMainThreadExecutor mainThreadExecutor, org.slf4j.Logger log)
BlocklistHandler.FactoryBlocklistHandler.create 在接口中 BlocklistHandler.FactoryblocklistContext - the blocklist contexttaskManagerNodeIdRetriever - to map a task manager to the node it's located onmainThreadExecutor - to schedule the timeout checklog - the loggerCopyright © 2014–2023 The Apache Software Foundation. All rights reserved.