Package org.hl7.fhir.r4.terminologies
Class ValueSetExpansionCache
- java.lang.Object
-
- org.hl7.fhir.r4.terminologies.ValueSetExpansionCache
-
- All Implemented Interfaces:
ValueSetExpanderFactory
public class ValueSetExpansionCache extends Object implements ValueSetExpanderFactory
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classValueSetExpansionCache.CacheAwareExpander
-
Constructor Summary
Constructors Constructor Description ValueSetExpansionCache(IWorkerContext context, Object lock)ValueSetExpansionCache(IWorkerContext context, String cacheFolder, Object lock)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ValueSetExpandergetExpander()MetadataResourcegetStoredResource(String canonicalUri)voidstoreResource(MetadataResource md)
-
-
-
Constructor Detail
-
ValueSetExpansionCache
public ValueSetExpansionCache(IWorkerContext context, Object lock)
-
ValueSetExpansionCache
public ValueSetExpansionCache(IWorkerContext context, String cacheFolder, Object lock) throws org.hl7.fhir.exceptions.FHIRFormatError, IOException
- Throws:
org.hl7.fhir.exceptions.FHIRFormatErrorIOException
-
-
Method Detail
-
getExpander
public ValueSetExpander getExpander()
- Specified by:
getExpanderin interfaceValueSetExpanderFactory
-
getStoredResource
public MetadataResource getStoredResource(String canonicalUri)
-
storeResource
public void storeResource(MetadataResource md) throws IOException
- Throws:
IOException
-
-