Class IntegrationConnectorRefreshThread

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

public class IntegrationConnectorRefreshThread extends Object implements Runnable
IntegrationConnectorRefreshThread is the class responsible for managing executing refresh() calls to a single integration connector within an integration daemon. It manages the automated refresh of the connector. The connector may also be refreshed through the REST API.
  • Constructor Details

    • IntegrationConnectorRefreshThread

      public IntegrationConnectorRefreshThread(String integrationDaemonName, IntegrationConnectorHandler connectorHandler, AuditLog auditLog)
      Constructor provides access to the variables needed to run the connector.
      Parameters:
      integrationDaemonName - name of this integration daemon server
      connectorHandler - 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