lock.acquire(timeout, resultHandler);
}
@Override
public void getCounter(String name, Handler<AsyncResult<Counter>> resultHandler) {
Counter counter = new AsynchronousCounter(vertx);
Counter prev = counters.putIfAbsent(name, counter);
if (prev != null) {
counter = prev;
}
Counter theCounter = counter;