Class ParallelFederationControl
java.lang.Object
org.odpi.openmetadata.repositoryservices.enterprise.repositoryconnector.control.FederationControlBase
org.odpi.openmetadata.repositoryservices.enterprise.repositoryconnector.control.ParallelFederationControl
- All Implemented Interfaces:
FederationControl
ParallelFederationControl uses multiple worker threads to perform the calls to different systems in parallel.
-
Field Summary
Fields inherited from class org.odpi.openmetadata.repositoryservices.enterprise.repositoryconnector.control.FederationControlBase
auditLog, cohortConnectors, methodName, userId
-
Constructor Summary
ConstructorDescriptionParallelFederationControl
(String userId, List<OMRSRepositoryConnector> cohortConnectors, AuditLog auditLog, String methodName) Constructor for a federated query -
Method Summary
Modifier and TypeMethodDescriptionvoid
executeCommand
(RepositoryExecutor executor) Issue the federated command.
-
Constructor Details
-
ParallelFederationControl
public ParallelFederationControl(String userId, List<OMRSRepositoryConnector> cohortConnectors, AuditLog auditLog, String methodName) Constructor for a federated query- Parameters:
userId
- calling usercohortConnectors
- list of connectors to callauditLog
- logging destinationmethodName
- calling method
-
-
Method Details
-
executeCommand
Issue the federated command.- Specified by:
executeCommand
in interfaceFederationControl
- Specified by:
executeCommand
in classFederationControlBase
- Parameters:
executor
- command to execute- Throws:
RepositoryErrorException
- problem with the state of one of the repositories. This is probably a logic error rather than an outage
-