/** * Check if a node has enough resources. * * @param node The node * @return A boolean indicating if it has enough resources. */ public boolean hasEnoughResource(ClusterNode node) { return resourceLimit.hasEnoughResource(node); }