java.lang.Object
org.odpi.openmetadata.governanceservers.integrationdaemonservices.threads.IntegrationDaemonThread
All Implemented Interfaces:
Runnable

public class IntegrationDaemonThread extends Object implements Runnable
IntegrationDaemonThread is the class responsible for managing executing integration connectors within an integration daemon. It manages the automated refresh of the connectors. The connectors are also being refreshed through the REST API.
  • Constructor Details

    • IntegrationDaemonThread

      public IntegrationDaemonThread(String integrationDaemonName, IntegrationConnectorCacheMap connectorHandlers, AuditLog auditLog)
      Constructor provides access to the variables needed to run the connector.
      Parameters:
      integrationDaemonName - name of this integration daemon server
      connectorHandlers - wrapper for the connector.
      auditLog - logging destination
  • Method Details

    • start

      public void start()
      Requests that the integration daemon thread starts
    • stop

      public void stop()
      Requests that the integration daemon thread shuts down.
    • run

      public void run()
      This is the method that runs in the new thread when it is started.
      Specified by:
      run in interface Runnable