Class DefaultBlocklistTracker

    • Constructor Detail

      • DefaultBlocklistTracker

        public DefaultBlocklistTracker()
    • Method Detail

      • addNewBlockedNodes

        public org.apache.flink.runtime.blocklist.BlockedNodeAdditionResult addNewBlockedNodes​(Collection<BlockedNode> newNodes)
        Description copied from interface: BlocklistTracker
        Add new blocked node records. If a node (identified by node id) already exists, the newly added one will be merged with the existing one.
        Specified by:
        addNewBlockedNodes in interface BlocklistTracker
        Parameters:
        newNodes - the new blocked node records
        Returns:
        the addition result
      • isBlockedNode

        public boolean isBlockedNode​(String nodeId)
        Description copied from interface: BlocklistTracker
        Returns whether the given node is blocked.
        Specified by:
        isBlockedNode in interface BlocklistTracker
        Parameters:
        nodeId - ID of the node to query
        Returns:
        true if the given node is blocked, otherwise false