Package org.fcrepo.kernel.impl.cache
Class UserTypesCacheImpl
java.lang.Object
org.fcrepo.kernel.impl.cache.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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcacheUserTypes(org.fcrepo.kernel.api.identifiers.FedoraId resourceId, List<URI> userTypes, String sessionId) voidcacheUserTypes(org.fcrepo.kernel.api.identifiers.FedoraId resourceId, org.fcrepo.kernel.api.RdfStream rdf, String sessionId) voiddropSessionCache(String sessionId) getUserTypes(org.fcrepo.kernel.api.identifiers.FedoraId resourceId, String sessionId, Supplier<org.fcrepo.kernel.api.RdfStream> rdfProvider) voidmergeSessionCache(String sessionId)
-
Constructor Details
-
UserTypesCacheImpl
-
-
Method Details
-
getUserTypes
public List<URI> getUserTypes(org.fcrepo.kernel.api.identifiers.FedoraId resourceId, String sessionId, Supplier<org.fcrepo.kernel.api.RdfStream> rdfProvider) - Specified by:
getUserTypesin interfaceorg.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:
cacheUserTypesin interfaceorg.fcrepo.kernel.api.cache.UserTypesCache
-
cacheUserTypes
public void cacheUserTypes(org.fcrepo.kernel.api.identifiers.FedoraId resourceId, List<URI> userTypes, String sessionId) - Specified by:
cacheUserTypesin interfaceorg.fcrepo.kernel.api.cache.UserTypesCache
-
mergeSessionCache
- Specified by:
mergeSessionCachein interfaceorg.fcrepo.kernel.api.cache.UserTypesCache
-
dropSessionCache
- Specified by:
dropSessionCachein interfaceorg.fcrepo.kernel.api.cache.UserTypesCache
-