Class ResourceHandler

  • All Implemented Interfaces:
    IResourceHandler

    public class ResourceHandler
    extends Object
    implements IResourceHandler
    Calls the FHIR REST API to create resources, supported by a thread pool
    • Method Detail

      • signalStop

        public void signalStop()
        Tell the ResourceHandler to shut down processing
      • waitForStop

        public void waitForStop()
        Shut down all resource processing
      • process

        public boolean process​(ResourceEntry entry)
        Description copied from interface: IResourceHandler
        Add the resource entry to the thread-pool for processing, subject to the rate limiting we have to make sure memory consumption is kept in check
        Specified by:
        process in interface IResourceHandler
        Returns: