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

Method getLastWriteTimesSetQuery

test/meta/TestTSUIDQuery.java:156–163  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

154 }
155
156 @Test
157 public void getLastWriteTimesSetQuery() throws Exception {
158 query = new TSUIDQuery(tsdb);
159 query.setQuery(METRIC_STRING, tags);
160 final ByteMap<Long> tsuids = query.getLastWriteTimes().joinUninterruptibly();
161 assertEquals(1, tsuids.size());
162 assertEquals(1388534400013L, (long)tsuids.get(TSUID));
163 }
164
165 @Test
166 public void getLastWriteTimesEmptyTags() throws Exception {

Callers

nothing calls this directly

Calls 4

sizeMethod · 0.65
setQueryMethod · 0.45
getLastWriteTimesMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected