
Package ca.uhn.fhir.jpa.cache
Class ResourceVersionMap
java.lang.Object
ca.uhn.fhir.jpa.cache.ResourceVersionMap
This immutable map holds a copy of current resource versions read from the repository.
- 
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsKey(org.hl7.fhir.instance.model.api.IIdType theId) static ResourceVersionMapempty()static ResourceVersionMapfromIdsWithVersions(List<org.hl7.fhir.instance.model.api.IIdType> theFhirIds) static ResourceVersionMapfromResources(List<? extends org.hl7.fhir.instance.model.api.IBaseResource> theResources) static ResourceVersionMapfromResourceTableEntities(List<? extends IBasePersistedResource<?>> theEntities) get(org.hl7.fhir.instance.model.api.IIdType theId) Set<org.hl7.fhir.instance.model.api.IIdType> getVersion(org.hl7.fhir.instance.model.api.IIdType theResourceId) booleanisEmpty()Set<org.hl7.fhir.instance.model.api.IIdType> keySet()intsize() 
- 
Method Details
- 
fromResourceTableEntities
public static ResourceVersionMap fromResourceTableEntities(List<? extends IBasePersistedResource<?>> theEntities)  - 
fromResources
public static ResourceVersionMap fromResources(List<? extends org.hl7.fhir.instance.model.api.IBaseResource> theResources)  - 
empty
 - 
fromIdsWithVersions
public static ResourceVersionMap fromIdsWithVersions(List<org.hl7.fhir.instance.model.api.IIdType> theFhirIds)  - 
getVersion
 - 
size
 - 
keySet
 - 
getSourceIds
 - 
get
 - 
containsKey
 - 
isEmpty
 
 -