class OntologyRepositoryCache extends AbstractDatasetRepositoryCache<String, Ontology> {

    @Override
    public Ontology getAndRemove(String key) {
        throw new UnsupportedOperationException("Cannot remove ontology. It must exist in the cache when accessed.");
    }

    public  OntologyRepositoryCache(String name, Repository repository, CacheManager cacheManager,
                                   Configuration configuration);

}