Artem Harutyunyan created MESOS-3891:
----------------------------------------
Summary: Add a helper function to the Agent to check available
resources before launching a task.
Key: MESOS-3891
URL: https://issues.apache.org/jira/browse/MESOS-3891
Project: Mesos
Issue Type: Bug
Reporter: Artem Harutyunyan
Assignee: Artem Harutyunyan
{noformat}
class Slave {
...
// Checks if the given resources are available (i.e. not utilized)
// for starting a task. If not, the task should either fail to
// start or result in the eviction of revocable resources.
virtual process::Future<bool> checkAvailableResources(
const Resources& resources);
...
}
{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)