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

Method getUIDMeta

test/meta/TestUIDMeta.java:139–146  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

137 }
138
139 @Test
140 public void getUIDMeta() throws Exception {
141 meta = UIDMeta.getUIDMeta(tsdb, UniqueIdType.METRIC, "000003")
142 .joinUninterruptibly();
143 assertEquals(UniqueIdType.METRIC, meta.getType());
144 assertEquals("sys.cpu.2", meta.getName());
145 assertEquals("000003", meta.getUID());
146 }
147
148 @Test
149 public void getUIDMetaByte() throws Exception {

Callers

nothing calls this directly

Calls 4

getUIDMetaMethod · 0.95
getNameMethod · 0.65
getTypeMethod · 0.45
getUIDMethod · 0.45

Tested by

no test coverage detected