CollectionConfiguration config = (CollectionConfiguration) cache.get(collectionPath); if (config != null) { config.getCollection().invalidateConfiguration(); cache.remove(config); }
CollectionCache collectionCache = pool.getCollectionsCache(); synchronized (collectionCache) { CollectionConfiguration config = (CollectionConfiguration) cache.get(collectionPath); if (config != null) { config.getCollection().invalidateConfiguration(); cache.remove(config); } }
    protected synchronized void invalidate(String collectionPath) {    	if (!collectionPath.startsWith(CONFIG_COLLECTION))    		return;    	collectionPath = collectionPath.substring(CONFIG_COLLECTION.length());    	CollectionConfiguration config = (CollectionConfiguration) cache.get(collectionPath);    	if (config != null) {    		config.getCollection().invalidateConfiguration();    		cache.remove(config);    	}    }