/** * Return a stable identifier for this client based on the name of the implementation class, the * hostname, and the hash code of the client (readable and likely to be unique, but uniqueness is * not guaranteed). */ public String getServiceName() { return client.getClass().getName() + "@" + AbstractStatisticsCollector.fullyQualifiedHostName + "#" + client.hashCode(); }
public Class getServiceIface() { return client.getClass(); }