MCPcopy Create free account
hub / github.com/OpenTSDB/asynchbase / compare

Method compare

src/BatchGet.java:353–359  ·  view source on GitHub ↗
(final ActionEntry a, final ActionEntry b)

Source from the content-addressed store, hash-verified

351 }
352
353 @Override
354 /**
355 * Compares two RPCs.
356 */
357 public int compare(final ActionEntry a, final ActionEntry b) {
358 return Bytes.memcmp(a.rpc.getRegion().name(), b.rpc.getRegion().name());
359 }
360 }
361
362 static class ActionResp {

Callers

nothing calls this directly

Calls 3

memcmpMethod · 0.95
nameMethod · 0.45
getRegionMethod · 0.45

Tested by

no test coverage detected