Interface IResourceChangeListener

All Known Implementing Classes:
SearchParamRegistryImpl

public interface IResourceChangeListener
To be notified of resource changes in the repository, implement this interface and register your instance with IResourceChangeListenerRegistry.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    handleChange(IResourceChangeEvent theResourceChangeEvent)
    Called by the IResourceChangeListenerRegistry when matching resource changes are detected
    void
    handleInit(Collection<org.hl7.fhir.instance.model.api.IIdType> theResourceIds)
    This method is called within ResourceChangeListenerCacheRefresherImpl.LOCAL_REFRESH_INTERVAL_MS of a listener registration
  • Method Details

    • handleInit

      void handleInit(Collection<org.hl7.fhir.instance.model.api.IIdType> theResourceIds)
      This method is called within ResourceChangeListenerCacheRefresherImpl.LOCAL_REFRESH_INTERVAL_MS of a listener registration
      Parameters:
      theResourceIds - the ids of all resources that match the search parameters the listener was registered with
    • handleChange

      void handleChange(IResourceChangeEvent theResourceChangeEvent)
      Called by the IResourceChangeListenerRegistry when matching resource changes are detected