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

Method getEndTime

src/tsd/AnnotationRpc.java:430–435  ·  view source on GitHub ↗

@return The ending timestamp in milliseconds. If it wasn't set, the current time is returned

()

Source from the content-addressed store, hash-verified

428 /** @return The ending timestamp in milliseconds. If it wasn't set, the
429 * current time is returned */
430 public long getEndTime() {
431 if (end_time == null || end_time.isEmpty()) {
432 return System.currentTimeMillis();
433 }
434 return DateTime.parseDateTimeString(end_time, null);
435 }
436
437 /** @return List of TSUIDs to delete annotations for (may be NULL) */
438 public List<String> getTsuids() {

Callers 1

executeBulkDeleteMethod · 0.95

Calls 3

parseDateTimeStringMethod · 0.95
isEmptyMethod · 0.80
currentTimeMillisMethod · 0.45

Tested by

no test coverage detected