public interface IMappingConnectorPool
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
_rcsid |
Modifier and Type | Method and Description |
---|---|
void |
closeAllConnectors()
Clean up all open mapping connector handles.
|
void |
flushUnusedConnectors()
Flush only those connector handles that are currently unused.
|
IMappingConnector |
grab(IMappingConnection mappingConnection)
Get a mapping connector.
|
IMappingConnector[] |
grabMultiple(java.lang.String[] orderingKeys,
IMappingConnection[] mappingConnections)
Get multiple mapping connectors, all at once.
|
void |
pollAllConnectors()
Idle notification for inactive mapping connector handles.
|
void |
release(IMappingConnection connection,
IMappingConnector connector)
Release a mapping connector.
|
void |
releaseMultiple(IMappingConnection[] connections,
IMappingConnector[] connectors)
Release multiple mapping connectors.
|
static final java.lang.String _rcsid
IMappingConnector[] grabMultiple(java.lang.String[] orderingKeys, IMappingConnection[] mappingConnections) throws ManifoldCFException
orderingKeys
- are the keys which determine in what order the connectors are obtained.mappingConnections
- are the connections to use the build the connector instances.ManifoldCFException
IMappingConnector grab(IMappingConnection mappingConnection) throws ManifoldCFException
mappingConnection
- is the mapping connection to base the connector instance on.ManifoldCFException
void releaseMultiple(IMappingConnection[] connections, IMappingConnector[] connectors) throws ManifoldCFException
connections
- are the connections describing the instances to release.connectors
- are the connector instances to release.ManifoldCFException
void release(IMappingConnection connection, IMappingConnector 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