Class ResourceChangeListenerCacheRefresherImpl

java.lang.Object
ca.uhn.fhir.jpa.cache.ResourceChangeListenerCacheRefresherImpl
All Implemented Interfaces:
IResourceChangeListenerCacheRefresher

This service refreshes the IResourceChangeListenerCache caches and notifies their listener when those caches change. Think of it like a Ferris Wheel that completes a full rotation once every 10 seconds. Every time a chair passes the bottom it checks to see if it's time to refresh that seat. If so, the Ferris Wheel stops, removes the riders, and loads a fresh cache for that chair, and calls the listener if any entries in the new cache are different from the last time that cache was loaded.