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

Method getUIDMetaByte

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

Source from the content-addressed store, hash-verified

146 }
147
148 @Test
149 public void getUIDMetaByte() throws Exception {
150 meta = UIDMeta.getUIDMeta(tsdb, UniqueIdType.METRIC, new byte[] { 0, 0, 3 })
151 .joinUninterruptibly();
152 assertEquals(UniqueIdType.METRIC, meta.getType());
153 assertEquals("sys.cpu.2", meta.getName());
154 assertEquals("000003", meta.getUID());
155 }
156
157 @Test
158 public void getUIDMetaExists() 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