public interface IRepositoryConnectorPool
| Modifier and Type | Method and Description |
|---|---|
void |
closeAllConnectors()
Clean up all open repository connector handles.
|
void |
flushUnusedConnectors()
Flush only those connector handles that are currently unused.
|
IRepositoryConnector |
grab(IRepositoryConnection repositoryConnection)
Get a repository connector.
|
IRepositoryConnector[] |
grabMultiple(String[] orderingKeys,
IRepositoryConnection[] authorityConnections)
Get multiple repository connectors, all at once.
|
void |
pollAllConnectors()
Idle notification for inactive repository connector handles.
|
void |
release(IRepositoryConnection connection,
IRepositoryConnector connector)
Release a repository connector.
|
void |
releaseMultiple(IRepositoryConnection[] connections,
IRepositoryConnector[] connectors)
Release multiple repository connectors.
|
static final String _rcsid
IRepositoryConnector[] grabMultiple(String[] orderingKeys, IRepositoryConnection[] authorityConnections) throws ManifoldCFException
orderingKeys - are the keys which determine in what order the connectors are obtained.repositoryConnections - are the connections to use the build the connector instances.ManifoldCFExceptionIRepositoryConnector grab(IRepositoryConnection repositoryConnection) throws ManifoldCFException
repositoryConnection - is the authority connection to base the connector instance on.ManifoldCFExceptionvoid releaseMultiple(IRepositoryConnection[] connections, IRepositoryConnector[] connectors) throws ManifoldCFException
connections - are the connections describing the instances to release.connectors - are the connector instances to release.ManifoldCFExceptionvoid release(IRepositoryConnection connection, IRepositoryConnector connector) throws ManifoldCFException
connection - is the connection describing the instance to release.connector - is the connector to release.ManifoldCFExceptionvoid pollAllConnectors()
throws ManifoldCFException
ManifoldCFExceptionvoid flushUnusedConnectors()
throws ManifoldCFException
ManifoldCFExceptionvoid closeAllConnectors()
throws ManifoldCFException
ManifoldCFException