MCPcopy Index your code
hub / github.com/OpenTSDB/opentsdb / formatVersionV1

Method formatVersionV1

src/tsd/HttpJsonSerializer.java:578–580  ·  view source on GitHub ↗

Format a hash map of information about the OpenTSDB version @param version A hash map with version information @return A JSON structure @throws JSONException if serialization failed

(final Map<String, String> version)

Source from the content-addressed store, hash-verified

576 * @throws JSONException if serialization failed
577 */
578 public ChannelBuffer formatVersionV1(final Map<String, String> version) {
579 return this.serializeJSON(version);
580 }
581
582 /**
583 * Format a response from the DropCaches call

Callers

nothing calls this directly

Calls 1

serializeJSONMethod · 0.95

Tested by

no test coverage detected