Class EngineConfigurationRefreshThread
java.lang.Object
org.odpi.openmetadata.governanceservers.enginehostservices.threads.EngineConfigurationRefreshThread
- All Implemented Interfaces:
Runnable
EngineConfigurationRefreshThread is the class responsible for establishing the listener for configuration
updates for a specific governance engine. It runs as a separate thread in a number of phases,
both listening for metadata changes and periodically issuing calls to the metadata server.
Firstly, it needs to retrieve the governance engine definition from the metadata store. Then it can
create the handler for the governance engine. This means that incoming engine actions for this engine will be
processed. Then it is listening for changes to the engine definition and actions to run.
-
Constructor Summary
ConstructorsConstructorDescriptionEngineConfigurationRefreshThread(EngineConfig engineConfig, GovernanceEngineMap engineHandlers, OpenMetadataEventClient eventClient, AuditLog auditLog, String localServerName) The constructor takes details of the governance engine handlers needed by the listener and the information needed to log errors if the metadata server is not available. -
Method Summary
-
Constructor Details
-
EngineConfigurationRefreshThread
public EngineConfigurationRefreshThread(EngineConfig engineConfig, GovernanceEngineMap engineHandlers, OpenMetadataEventClient eventClient, AuditLog auditLog, String localServerName) The constructor takes details of the governance engine handlers needed by the listener and the information needed to log errors if the metadata server is not available.- Parameters:
engineHandlers- list of governance engine handlers running locally mapped to their nameseventClient- client for accessing the Governance Server OMAS OutTopicauditLog- logging destinationlocalServerName- this server's name
-
-
Method Details