result_type operator()(const argument_type& containerId) const { size_t seed = 0; boost::hash_combine(seed, containerId.value()); if (containerId.has_parent()) { boost::hash_combine( seed, std::hash<mesos::ContainerID>()(containerId.parent())); } return seed; }
result_type operator()(const argument_type& uri) const { size_t seed = 0; if (uri.extract()) { seed += 11; } if (uri.executable()) { seed += 2003; } boost::hash_combine(seed, uri.value()); return seed; }
result_type operator()(const argument_type& taskId) const { size_t seed = 0; boost::hash_combine(seed, taskId.value()); return seed; }
result_type operator()(const argument_type& resourceProviderId) const { size_t seed = 0; boost::hash_combine(seed, resourceProviderId.value()); return seed; }