[ https://issues.apache.org/jira/browse/MESOS-3955?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guangya Liu updated MESOS-3955: ------------------------------- Description: {code} class Resources { ... // Tests if the given Resource object has no stateful elements. static bool isStateless(const Resource& resource); ... // Returns the resources that do not have stateful elements. Resources stateless() const; ... } {code} > Add helper function to get stateless resources. > ----------------------------------------------- > > Key: MESOS-3955 > URL: https://issues.apache.org/jira/browse/MESOS-3955 > Project: Mesos > Issue Type: Bug > Reporter: Guangya Liu > Assignee: Guangya Liu > > {code} > class Resources { > ... > // Tests if the given Resource object has no stateful elements. > static bool isStateless(const Resource& resource); > ... > // Returns the resources that do not have stateful elements. > Resources stateless() const; > ... > } > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)