Interface FederationControl
- All Known Implementing Classes:
FederationControlBase
,ParallelFederationControl
,SequentialFederationControl
public interface FederationControl
FederationControl defines the API for control logic that manages a federated query
across the repositories registered with the enterprise connector manager.
An instance of the federation control class is created for each query. It is passed an
executor object that is able to issue the appropriate query and handle the response.
The federation control class calls the executor repeatedly, passing in the metadata collection
until the executor tells it to stop, or it runs out of registered repositories.
The caller (enterprise connector) then requests the response from the executor.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
executeCommand
(RepositoryExecutor executor) Issue the federated command
-
Method Details
-
executeCommand
Issue the federated command- 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
-