private void updateContainersInCache(Collection<Container> containers) {
    infoMapLock.writeLock().lock();
    try {
      accountInfoMapRef.get().addOrUpdateContainers(containers);
    } finally {
      infoMapLock.writeLock().unlock();
    }

    // Remove containers from not-found LRU cache.
    for (Container container : containers) {
      recentNotFoundContainersCache.remove(
          getAccountById(container.getParentAccountId()).getName() + SEPARATOR + container.getName());
    }
  }
Updates {@link Container}s to in-memory cache.
@param containers added or modified {@link Container}s
ambry-account/src/main/java/com/github/ambry/account/CachedAccountService.java