
Package ca.uhn.fhir.jpa.topic
Class BaseSubscriptionTopicLoader
java.lang.Object
ca.uhn.fhir.cache.BaseResourceCacheSynchronizer
ca.uhn.fhir.jpa.topic.BaseSubscriptionTopicLoader
- All Implemented Interfaces:
IResourceChangeListener,ISubscriptionTopicLoader,ca.uhn.fhir.rest.server.util.IResourceRepositoryCache
- Direct Known Subclasses:
R4SubscriptionTopicLoader,SubscriptionTopicLoader
public abstract class BaseSubscriptionTopicLoader
extends BaseResourceCacheSynchronizer
implements ISubscriptionTopicLoader, IResourceChangeListener
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final ca.uhn.fhir.rest.server.util.ISearchParamRegistryFields inherited from class ca.uhn.fhir.cache.BaseResourceCacheSynchronizer
MAX_RETRIES, REFRESH_INTERVAL -
Constructor Summary
ConstructorsConstructorDescriptionBaseSubscriptionTopicLoader(ca.uhn.hapi.converters.canonical.VersionCanonicalizer theVersionCanonicalizer, String theResourceName, SubscriptionTopicRegistry theSubscriptionTopicRegistry, ca.uhn.fhir.rest.server.util.ISearchParamRegistry theSearchParamRegistry) Constructor -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleInit(List<org.hl7.fhir.instance.model.api.IBaseResource> resourceList) intsyncResourcesIntoCache(List<org.hl7.fhir.instance.model.api.IBaseResource> resourceList) protected intupdateSubscriptionTopicRegistry(List<org.hl7.fhir.instance.model.api.IBaseResource> theResourceList) Methods inherited from class ca.uhn.fhir.cache.BaseResourceCacheSynchronizer
acquireSemaphoreForUnitTest, doSyncResourcesForUnitTest, forceRefresh, getSearchParameterMap, handleChange, handleInit, registerListener, requestRefresh, setMaxRetries, shutdown, start, unregisterListenerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ca.uhn.fhir.jpa.cache.IResourceChangeListener
handleChange, handleInitMethods inherited from interface ca.uhn.fhir.rest.server.util.IResourceRepositoryCache
forceRefresh, requestRefresh
-
Field Details
-
mySearchParamRegistry
-
-
Constructor Details
-
BaseSubscriptionTopicLoader
public BaseSubscriptionTopicLoader(ca.uhn.hapi.converters.canonical.VersionCanonicalizer theVersionCanonicalizer, String theResourceName, SubscriptionTopicRegistry theSubscriptionTopicRegistry, ca.uhn.fhir.rest.server.util.ISearchParamRegistry theSearchParamRegistry) Constructor
-
-
Method Details
-
handleInit
- Specified by:
handleInitin classBaseResourceCacheSynchronizer
-
syncResourcesIntoCache
public int syncResourcesIntoCache(@Nonnull List<org.hl7.fhir.instance.model.api.IBaseResource> resourceList) - Specified by:
syncResourcesIntoCachein classBaseResourceCacheSynchronizer
-
updateSubscriptionTopicRegistry
protected int updateSubscriptionTopicRegistry(List<org.hl7.fhir.instance.model.api.IBaseResource> theResourceList)
-