public class OutputConnectorPool extends java.lang.Object implements IOutputConnectorPool
| Modifier and Type | Class and Description | 
|---|---|
| protected static class  | OutputConnectorPool.LocalPoolActual static output connector pool | 
| Modifier and Type | Field and Description | 
|---|---|
| static java.lang.String | _rcsid | 
| protected static OutputConnectorPool.LocalPool | localPoolLocal connector pool | 
| protected IThreadContext | threadContextThread context | 
| Constructor and Description | 
|---|
| OutputConnectorPool(IThreadContext threadContext)Constructor | 
| Modifier and Type | Method and Description | 
|---|---|
| void | closeAllConnectors()Clean up all open output connector handles. | 
| void | flushUnusedConnectors()Flush only those connector handles that are currently unused. | 
| IOutputConnector | grab(IOutputConnection outputConnection)Get an output connector. | 
| IOutputConnector[] | grabMultiple(java.lang.String[] orderingKeys,
            IOutputConnection[] outputConnections)Get multiple output connectors, all at once. | 
| void | pollAllConnectors()Idle notification for inactive output connector handles. | 
| void | release(IOutputConnection connection,
       IOutputConnector connector)Release an output connector. | 
| void | releaseMultiple(IOutputConnection[] connections,
               IOutputConnector[] connectors)Release multiple output connectors. | 
public static final java.lang.String _rcsid
protected static final OutputConnectorPool.LocalPool localPool
protected final IThreadContext threadContext
public OutputConnectorPool(IThreadContext threadContext) throws ManifoldCFException
ManifoldCFExceptionpublic IOutputConnector[] grabMultiple(java.lang.String[] orderingKeys, IOutputConnection[] outputConnections) throws ManifoldCFException
grabMultiple in interface IOutputConnectorPoolorderingKeys - are the keys which determine in what order the connectors are obtained.outputConnections - are the connections to use the build the connector instances.ManifoldCFExceptionpublic IOutputConnector grab(IOutputConnection outputConnection) throws ManifoldCFException
grab in interface IOutputConnectorPooloutputConnection - is the output connection to base the connector instance on.ManifoldCFExceptionpublic void releaseMultiple(IOutputConnection[] connections, IOutputConnector[] connectors) throws ManifoldCFException
releaseMultiple in interface IOutputConnectorPoolconnections - are the connections describing the instances to release.connectors - are the connector instances to release.ManifoldCFExceptionpublic void release(IOutputConnection connection, IOutputConnector connector) throws ManifoldCFException
release in interface IOutputConnectorPoolconnection - is the connection describing the instance to release.connector - is the connector to release.ManifoldCFExceptionpublic void pollAllConnectors()
                       throws ManifoldCFException
pollAllConnectors in interface IOutputConnectorPoolManifoldCFExceptionpublic void flushUnusedConnectors()
                           throws ManifoldCFException
flushUnusedConnectors in interface IOutputConnectorPoolManifoldCFExceptionpublic void closeAllConnectors()
                        throws ManifoldCFException
closeAllConnectors in interface IOutputConnectorPoolManifoldCFException