Class UserTypesCacheImpl

  • All Implemented Interfaces:
    org.fcrepo.kernel.api.cache.UserTypesCache

    @Component
    public class UserTypesCacheImpl
    extends Object
    implements org.fcrepo.kernel.api.cache.UserTypesCache
    Default UserTypesCache implementation
    Author:
    pwinckles
    • Constructor Detail

      • UserTypesCacheImpl

        public UserTypesCacheImpl​(org.fcrepo.config.FedoraPropsConfig config)
    • Method Detail

      • getUserTypes

        public List<URIgetUserTypes​(org.fcrepo.kernel.api.identifiers.FedoraId resourceId,
                                      String sessionId,
                                      Supplier<org.fcrepo.kernel.api.RdfStream> rdfProvider)
        Specified by:
        getUserTypes in interface org.fcrepo.kernel.api.cache.UserTypesCache
      • cacheUserTypes

        public void cacheUserTypes​(org.fcrepo.kernel.api.identifiers.FedoraId resourceId,
                                   org.fcrepo.kernel.api.RdfStream rdf,
                                   String sessionId)
        Specified by:
        cacheUserTypes in interface org.fcrepo.kernel.api.cache.UserTypesCache
      • cacheUserTypes

        public void cacheUserTypes​(org.fcrepo.kernel.api.identifiers.FedoraId resourceId,
                                   List<URI> userTypes,
                                   String sessionId)
        Specified by:
        cacheUserTypes in interface org.fcrepo.kernel.api.cache.UserTypesCache
      • mergeSessionCache

        public void mergeSessionCache​(String sessionId)
        Specified by:
        mergeSessionCache in interface org.fcrepo.kernel.api.cache.UserTypesCache
      • dropSessionCache

        public void dropSessionCache​(String sessionId)
        Specified by:
        dropSessionCache in interface org.fcrepo.kernel.api.cache.UserTypesCache