public interface BlocklistTracker
Modifier and Type | Method and Description |
---|---|
org.apache.flink.runtime.blocklist.BlockedNodeAdditionResult |
addNewBlockedNodes(Collection<BlockedNode> newNodes)
Add new blocked node records.
|
Set<String> |
getAllBlockedNodeIds()
Get all blocked node ids.
|
Collection<BlockedNode> |
getAllBlockedNodes()
Get all blocked nodes.
|
boolean |
isBlockedNode(String nodeId)
Returns whether the given node is blocked.
|
Collection<BlockedNode> |
removeTimeoutNodes(long currentTimeMillis)
Remove timeout nodes.
|
org.apache.flink.runtime.blocklist.BlockedNodeAdditionResult addNewBlockedNodes(Collection<BlockedNode> newNodes)
newNodes
- the new blocked node recordsboolean isBlockedNode(String nodeId)
nodeId
- ID of the node to querySet<String> getAllBlockedNodeIds()
Collection<BlockedNode> getAllBlockedNodes()
Collection<BlockedNode> removeTimeoutNodes(long currentTimeMillis)
currentTimeMillis
- current timeCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.