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

Method getTSMeta

src/meta/TSMeta.java:389–392  ·  view source on GitHub ↗

Attempts to fetch the timeseries meta data and associated UIDMeta objects from storage. Note: Until we have a caching layer implemented, this will make at least 4 reads to the storage system, 1 for the TSUID meta, 1 for the metric UIDMeta and 1 each for every tagk/tagv UIDMeta object. See

(final TSDB tsdb, final String tsuid)

Source from the content-addressed store, hash-verified

387 * @throws NoSuchUniqueName if one of the UIDMeta objects does not exist
388 */
389 public static Deferred<TSMeta> getTSMeta(final TSDB tsdb, final String tsuid) {
390 return getFromStorage(tsdb, UniqueId.stringToUid(tsuid))
391 .addCallbackDeferring(new LoadUIDs(tsdb, tsuid));
392 }
393
394 /**
395 * Parses a TSMeta object from the given column, optionally loading the

Callers 11

getTSMetaMethod · 0.95
getTSMetaDoesNotExistMethod · 0.95
getTSMetaNSUMetricMethod · 0.95
getTSMetaNSUTagkMethod · 0.95
getTSMetaNSUTagvMethod · 0.95
deleteMethod · 0.95
callMethod · 0.95
callMethod · 0.95
handleTSMetaMethod · 0.95
callMethod · 0.95
handleTestMethod · 0.95

Calls 2

getFromStorageMethod · 0.95
stringToUidMethod · 0.95

Tested by 6

getTSMetaMethod · 0.76
getTSMetaDoesNotExistMethod · 0.76
getTSMetaNSUMetricMethod · 0.76
getTSMetaNSUTagkMethod · 0.76
getTSMetaNSUTagvMethod · 0.76
deleteMethod · 0.76