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

Method MockDataPoints

test/storage/MockDataPoints.java:61–72  ·  view source on GitHub ↗

Default Ctor that stores some values in the tags and tsuid as well as a single annotation.

()

Source from the content-addressed store, hash-verified

59 * single annotation.
60 */
61 public MockDataPoints() {
62 tags.put("dc", "lga");
63 agg_tags.add("host");
64 tsuids.add("000001000001000001");
65 tsuids.add("000001000001000002");
66
67 final Annotation note = new Annotation();
68 note.setTSUID("000001000001000001");
69 note.setStartTime(1356998401000L);
70 note.setDescription("Just a simple note");
71 annotations.add(note);
72 }
73
74 /**
75 * Retrieves the DataPoints object and sets up the mock calls

Callers

nothing calls this directly

Calls 5

setTSUIDMethod · 0.95
setStartTimeMethod · 0.95
setDescriptionMethod · 0.95
putMethod · 0.80
addMethod · 0.45

Tested by

no test coverage detected