List of utility methods to do AtomicLong Accumulator
boolean | waitForConditionEx(final AtomicBoolean condition, long timeout) wait For Condition Ex synchronized (condition) { long startTime = System.currentTimeMillis(); while (!condition.get()) { condition.wait(timeout); if (System.currentTimeMillis() - startTime >= timeout) { break; return condition.get(); |