OntologyRepositoryCache extends AbstractDatasetRepositoryCache<String, Ontology> { @Override public <T> T invoke(String key, EntryProcessor<String, Ontology, T> entryProcessor, Object... objects) throws EntryProcessorException { throw new UnsupportedOperationException("Invoke not supported in implementation."); } OntologyRepositoryCache(String name, Repository repository, CacheManager cacheManager,
                                   Configuration configuration); void setOntologyManager(OntologyManager ontologyManager); void setValueFactory(ValueFactory vf); void setModelFactory(ModelFactory mf); void setDatasetFactory(DatasetFactory datasetFactory); void setDatasetManager(DatasetManager datasetManager); @Override Ontology get(String key); @Override Map<String, Ontology> getAll(Set<? extends String> keys); @Override boolean containsKey(String key); @Override void loadAll(Set<? extends String> keys, boolean replaceExistingValues,
                        CompletionListener completionListener); @Override void put(String key, Ontology ontology); @Override Ontology getAndPut(String key, Ontology ontology); @Override void putAll(Map<? extends String, ? extends Ontology> map); @Override boolean putIfAbsent(String key, Ontology ontology); @Override boolean remove(String key); @Override boolean remove(String key, Ontology ontology); @Override Ontology getAndRemove(String key); @Override boolean replace(String key, Ontology ontology, Ontology newOntology); @Override boolean replace(String key, Ontology ontology); @Override Ontology getAndReplace(String key, Ontology ontology); @Override void removeAll(Set<? extends String> set); @Override void removeAll(); @Override void clear(); @Override C getConfiguration(Class<C> clazz); @Override T invoke(String key, EntryProcessor<String, Ontology, T> entryProcessor, Object... objects); @Override Map<String, EntryProcessorResult<T>> invokeAll(Set<? extends String> set,
                                                              EntryProcessor<String, Ontology, T> entryProcessor,
                                                              Object... objects); @Override String getName(); @Override CacheManager getCacheManager(); @Override void close(); @Override boolean isClosed(); @Override T unwrap(Class<T> clazz); @Override void registerCacheEntryListener(CacheEntryListenerConfiguration<String,
            Ontology> cacheEntryListenerConfiguration); @Override void deregisterCacheEntryListener(CacheEntryListenerConfiguration<String,
            Ontology> cacheEntryListenerConfiguration); @Override Iterator<Cache.Entry<String, Ontology>> iterator();  }
@Test(expected = UnsupportedOperationException.class) public void invokeTest() { cache.invoke(key1, null, null, null); }