
Package ca.uhn.fhir.jpa.cache
Class ResourceVersionCache
java.lang.Object
ca.uhn.fhir.jpa.cache.ResourceVersionCache
This maintains a mapping of resource id to resource version. We cache these in order to
detect resources that were modified on remote servers in our cluster.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()getVersionForResourceId(org.hl7.fhir.instance.model.api.IIdType theResourceId) voidinitialize(ResourceVersionMap theResourceVersionMap) Set<org.hl7.fhir.instance.model.api.IIdType> keySet()removeResourceId(org.hl7.fhir.instance.model.api.IIdType theResourceId) intsize()
-
Constructor Details
-
ResourceVersionCache
public ResourceVersionCache()
-
-
Method Details
-
clear
-
put
- Parameters:
theResourceId-theVersion-- Returns:
- previous value
-
getVersionForResourceId
-
removeResourceId
-
initialize
-
size
-
keySet
-