Apache Mesos
Functions
process::ID Namespace Reference

Functions

std::string generate (const std::string &prefix="")
 Returns 'prefix(N)' where N represents the number of instances where the same prefix (wrt. More...
 

Function Documentation

std::string process::ID::generate ( const std::string &  prefix = "")

Returns 'prefix(N)' where N represents the number of instances where the same prefix (wrt.

string value equality) has been used to generate an ID.

Parameters
prefixThe prefix to base the result.
Returns
An "ID" in the shape 'prefix(N)'.