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