MCPcopy Create free account
hub / github.com/cmu-db/benchbase / removeAll

Method removeAll

src/main/java/com/oltpbenchmark/util/Histogram.java:430–435  ·  view source on GitHub ↗

Remove the entire count for the given value @param value

(X value)

Source from the content-addressed store, hash-verified

428 * @param value
429 */
430 public synchronized void removeAll(X value) {
431 Integer cnt = this.histogram.get(value);
432 if (cnt != null && cnt > 0) {
433 this._put(value, cnt * -1);
434 }
435 }
436
437 /**
438 * Returns the current count for the given value If the value was never entered into the

Callers 3

testCompareToMethod · 0.95
getRandomBuyerIdMethod · 0.45
getReturningCustomersMethod · 0.45

Calls 2

_putMethod · 0.95
getMethod · 0.45

Tested by 1

testCompareToMethod · 0.76