Class SequentialFederationControl
java.lang.Object
org.odpi.openmetadata.repositoryservices.enterprise.repositoryconnector.control.FederationControlBase
org.odpi.openmetadata.repositoryservices.enterprise.repositoryconnector.control.SequentialFederationControl
- All Implemented Interfaces:
FederationControl
SequentialFederationControl provides a simple sequential federation control loop to
manage a single federated query.
-
Field Summary
Fields inherited from class org.odpi.openmetadata.repositoryservices.enterprise.repositoryconnector.control.FederationControlBase
auditLog, cohortConnectors, methodName, userId
-
Constructor Summary
ConstructorDescriptionSequentialFederationControl
(String userId, List<OMRSRepositoryConnector> cohortConnectors, AuditLog auditLog, String methodName) Constructor for a sequential federated query controller -
Method Summary
Modifier and TypeMethodDescriptionvoid
executeCommand
(RepositoryExecutor executor) Issue the federated command.
-
Constructor Details
-
SequentialFederationControl
public SequentialFederationControl(String userId, List<OMRSRepositoryConnector> cohortConnectors, AuditLog auditLog, String methodName) Constructor for a sequential federated query controller- 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
-