Interface BlocklistHandler.Factory
-
- All Known Implementing Classes:
DefaultBlocklistHandler.Factory,NoOpBlocklistHandler.Factory
- Enclosing interface:
- BlocklistHandler
public static interface BlocklistHandler.FactoryFactory to instantiateBlocklistHandler.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BlocklistHandlercreate(BlocklistContext blocklistContext, Function<ResourceID,String> taskManagerNodeIdRetriever, org.apache.flink.runtime.concurrent.ComponentMainThreadExecutor mainThreadExecutor, org.slf4j.Logger log)Instantiates aBlocklistHandler.
-
-
-
Method Detail
-
create
BlocklistHandler create(BlocklistContext blocklistContext, Function<ResourceID,String> taskManagerNodeIdRetriever, org.apache.flink.runtime.concurrent.ComponentMainThreadExecutor mainThreadExecutor, org.slf4j.Logger log)
Instantiates aBlocklistHandler.- Parameters:
blocklistContext- the blocklist contexttaskManagerNodeIdRetriever- to map a task manager to the node it's located onmainThreadExecutor- to schedule the timeout checklog- the logger- Returns:
- an instantiated blocklist handler.
-
-