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

Method call

src/tsd/AnnotationRpc.java:87–98  ·  view source on GitHub ↗
(Boolean success)

Source from the content-addressed store, hash-verified

85 class SyncCB implements Callback<Deferred<Annotation>, Boolean> {
86
87 @Override
88 public Deferred<Annotation> call(Boolean success) throws Exception {
89 if (!success) {
90 throw new BadRequestException(
91 HttpResponseStatus.INTERNAL_SERVER_ERROR,
92 "Failed to save the Annotation to storage",
93 "This may be caused by another process modifying storage data");
94 }
95
96 return Annotation.getAnnotation(tsdb, note.getTSUID(),
97 note.getStartTime());
98 }
99
100 }
101

Callers

nothing calls this directly

Calls 3

getAnnotationMethod · 0.95
getStartTimeMethod · 0.65
getTSUIDMethod · 0.45

Tested by

no test coverage detected