MCPcopy
hub / github.com/OpenTSDB/opentsdb / getLastWriteTimes

Method getLastWriteTimes

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

Source from the content-addressed store, hash-verified

146 }
147
148 @Test
149 public void getLastWriteTimes() throws Exception {
150 query = new TSUIDQuery(tsdb, METRIC_STRING, tags);
151 final ByteMap<Long> tsuids = query.getLastWriteTimes().joinUninterruptibly();
152 assertEquals(1, tsuids.size());
153 assertEquals(1388534400013L, (long)tsuids.get(TSUID));
154 }
155
156 @Test
157 public void getLastWriteTimesSetQuery() throws Exception {

Calls 2

sizeMethod · 0.65
getMethod · 0.45

Tested by

no test coverage detected