public String buildMessage(String metricName, Object value, long timestamp) {
    """
	Builds a metric string to send to a Graphite instance.
	
	@return The metric string without trailing newline
    """
        if (value instanceof Boolean) {
            return metricPathPrefix + metricName + " " + ((Boolean)value ? 1 : 0) + " " + timestamp;
        }
        return metricPathPrefix + metricName + " " + value + " " + timestamp;
    }
public String buildMessage(String metricName, Object value, long timestamp) {
        if (value instanceof Boolean) {
            return metricPathPrefix + metricName + " " + ((Boolean)value ? 1 : 0) + " " + timestamp;
        }
        return metricPathPrefix + metricName + " " + value + " " + timestamp;
    }
public String buildMessage ( String metricName , Object value , long timestamp ) { if ( value instanceof Boolean ) { return metricPathPrefix + metricName + " " + ( ( Boolean ) value ? 1 : 0 ) + " " + timestamp ; } return metricPathPrefix + metricName + " " + value + " " + timestamp ; }
Builds a metric string to send to a Graphite instance.

@return The metric string without trailing newline
Builds a metric string to send to a Graphite instance .