public static class DefaultBlocklistHandler.Factory extends Object implements BlocklistHandler.Factory
DefaultBlocklistHandler
.Constructor and Description |
---|
Factory(java.time.Duration timeoutCheckInterval) |
Modifier and Type | Method and Description |
---|---|
BlocklistHandler |
create(BlocklistContext blocklistContext,
java.util.function.Function<ResourceID,String> taskManagerNodeIdRetriever,
ComponentMainThreadExecutor mainThreadExecutor,
org.slf4j.Logger log)
Instantiates a
BlocklistHandler . |
public BlocklistHandler create(BlocklistContext blocklistContext, java.util.function.Function<ResourceID,String> taskManagerNodeIdRetriever, ComponentMainThreadExecutor mainThreadExecutor, org.slf4j.Logger log)
BlocklistHandler.Factory
BlocklistHandler
.create
in interface BlocklistHandler.Factory
blocklistContext
- 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.