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 Constructor Description UserTypesCacheImpl(org.fcrepo.config.FedoraPropsConfig config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcacheUserTypes(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)List<URI>getUserTypes(org.fcrepo.kernel.api.identifiers.FedoraId resourceId, String sessionId, Supplier<org.fcrepo.kernel.api.RdfStream> rdfProvider)voidmergeSessionCache(String sessionId)
-
-
-
Constructor Detail
-
UserTypesCacheImpl
public UserTypesCacheImpl(org.fcrepo.config.FedoraPropsConfig config)
-
-
Method Detail
-
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
public void mergeSessionCache(String sessionId)
- Specified by:
mergeSessionCachein interfaceorg.fcrepo.kernel.api.cache.UserTypesCache
-
dropSessionCache
public void dropSessionCache(String sessionId)
- Specified by:
dropSessionCachein interfaceorg.fcrepo.kernel.api.cache.UserTypesCache
-
-