class RepositoryCachingProvider implements CachingProvider {

    @Override
    public void close() {
        synchronized (cacheManagers) {
            for (ClassLoader classLoader : new ArrayList<>(cacheManagers.keySet())) {
                close(classLoader);
            }
        }
    }

}