Package ca.uhn.fhir.jpa.cache
Class ResourceChangeListenerRegistryInterceptor
java.lang.Object
ca.uhn.fhir.jpa.cache.ResourceChangeListenerRegistryInterceptor
This interceptor watches all resource changes on the server and compares them to the
IResourceChangeListenerCache
entries. If the resource matches the resource type and search parameter map of that entry, then the corresponding cache
will be expired so it is refreshed and listeners are notified of that change within ResourceChangeListenerCacheRefresherImpl.LOCAL_REFRESH_INTERVAL_MS
.-
Constructor Summary
-
Method Summary
-
Constructor Details
-
ResourceChangeListenerRegistryInterceptor
-
-
Method Details
-
start
@EventListener(classes=org.springframework.context.event.ContextRefreshedEvent.class) @Order(200) public void start() -
stop
-
created
-
deleted
-
updated
-