class CachedOntologyLoader implements OntologyLoader {

    @Override
    public List<OntologyModel> loadOntologies() {
        String id = StringUtils.isBlank(VitamThreadUtils.getVitamSession().getRequestId())
            ? GET_FROM_SAME_CACHE
            : VitamThreadUtils.getVitamSession().getRequestId();
        return this.cache.getUnchecked(id);
    }

    public  CachedOntologyLoader(int maxEntriesInCache, int cacheTimeoutInSeconds, OntologyLoader loadOntology);

}