Package ca.uhn.fhir.jpa.cache
package ca.uhn.fhir.jpa.cache
-
ClassDescriptionRegistered IResourceChangeListener instances are called with this event to provide them with a list of ids of resources that match the search parameters and that changed from the last time they were checked.To be notified of resource changes in the repository, implement this interface and register your instance with
IResourceChangeListenerRegistry
.This is a handle to the cache created byIResourceChangeListenerRegistry
when a listener is registered.This is an internal service and is not intended to be used outside this package.This component holds an in-memory list of all registeredIResourceChangeListener
instances along with their caches and other details needed to maintain those caches.This interface is used by the IResourceChangeListenerCacheRefresher to read resources matching the provided search parameter map in the repository and compare them to caches stored in the IResourceChangeListenerRegistry.An immutable list of resource ids that have been changed, updated, or deleted.This service refreshes theIResourceChangeListenerCache
caches and notifies their listener when those caches change.This component holds an in-memory list of all registeredIResourceChangeListener
instances along with their caches and other details needed to maintain those caches.This interceptor watches all resource changes on the server and compares them to theIResourceChangeListenerCache
entries.An immutable object containing the count of resource creates, updates and deletes detected by a cache refresh operation.This maintains a mapping of resource id to resource version.This immutable map holds a copy of current resource versions read from the repository.