Last active
May 26, 2018 04:09
-
-
Save siddontang/d96e51a3f074bd7c89378c676e5a487e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public Status read(String table, String key, Set<String> fields, | |
Map<String, ByteIterator> result) { | |
try (final TraceScope span = tracer.newScope(scopeStringRead)) { | |
long ist = measurements.getIntendedtartTimeNs(); | |
long st = System.nanoTime(); | |
Status res = db.read(table, key, fields, result); | |
long en = System.nanoTime(); | |
measure("READ", res, ist, st, en); | |
measurements.reportStatus("READ", res); | |
return res; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment