Class EngineConfigurationRefreshThread
- java.lang.Object
-
- org.odpi.openmetadata.governanceservers.enginehostservices.threads.EngineConfigurationRefreshThread
-
- All Implemented Interfaces:
Runnable
public class EngineConfigurationRefreshThread extends Object implements Runnable
EngineConfigurationRefreshThread is the class responsible for establishing the listener for configuration updates. It runs as a separate thread until the listener is registered with the Governance Engine OMAS. At that point, the listener is able to process incoming configuration updates and this thread can end.
-
-
Constructor Summary
Constructors Constructor Description EngineConfigurationRefreshThread(Map<String,GovernanceEngineHandler> engineHandlers, GovernanceEngineConfigurationClient configurationClient, GovernanceEngineEventClient eventClient, AuditLog auditLog, String localServerUserId, String localServerName, String accessServiceServerName, String accessServiceRootURL)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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidrun()Method that runs when the thread is started.voidstop()
-
-
-
Constructor Detail
-
EngineConfigurationRefreshThread
public EngineConfigurationRefreshThread(Map<String,GovernanceEngineHandler> engineHandlers, GovernanceEngineConfigurationClient configurationClient, GovernanceEngineEventClient eventClient, AuditLog auditLog, String localServerUserId, String localServerName, String accessServiceServerName, String accessServiceRootURL)
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 namesconfigurationClient- client that the listener is to be registered witheventClient- client for accessing the Governance Engine OMAS OutTopicauditLog- logging destinationlocalServerUserId- userId for configuration requestslocalServerName- this server's nameaccessServiceServerName- metadata server's nameaccessServiceRootURL- platform location for metadata server
-
-