Class OutputConnectorPool.LocalPool
- java.lang.Object
-
- org.apache.manifoldcf.core.connectorpool.ConnectorPool<IOutputConnector>
-
- org.apache.manifoldcf.agents.outputconnectorpool.OutputConnectorPool.LocalPool
-
- Enclosing class:
- OutputConnectorPool
protected static class OutputConnectorPool.LocalPool extends ConnectorPool<IOutputConnector>
Actual static output connector pool
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.manifoldcf.core.connectorpool.ConnectorPool
ConnectorPool.Pool, ConnectorPool.SumClass
-
-
Field Summary
-
Fields inherited from class org.apache.manifoldcf.core.connectorpool.ConnectorPool
_rcsid, poolHash, randomNumberGenerator, serviceTypePrefix, targetCalcLockPrefix
-
-
Constructor Summary
Constructors Constructor Description LocalPool()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IOutputConnector[]
grabMultiple(IThreadContext tc, java.lang.String[] orderingKeys, java.lang.String[] connectionNames, java.lang.String[] classNames, ConfigParams[] configInfos, int[] maxPoolSizes)
protected boolean
isConnectionNameValid(IThreadContext tc, java.lang.String connectionName)
Override this method to check if a connection name is still valid.protected boolean
isInstalled(IThreadContext tc, java.lang.String className)
Override this method to hook into a connector manager.-
Methods inherited from class org.apache.manifoldcf.core.connectorpool.ConnectorPool
buildServiceTypeName, buildTargetCalcLockName, closeAllConnectors, createConnectorInstance, flushUnusedConnectors, grab, grabMultiple, pack, pollAllConnectors, release, releaseMultiple, unpackInUse, unpackTarget
-
-
-
-
Method Detail
-
isInstalled
protected boolean isInstalled(IThreadContext tc, java.lang.String className) throws ManifoldCFException
Description copied from class:ConnectorPool
Override this method to hook into a connector manager.- Specified by:
isInstalled
in classConnectorPool<IOutputConnector>
- Throws:
ManifoldCFException
-
isConnectionNameValid
protected boolean isConnectionNameValid(IThreadContext tc, java.lang.String connectionName) throws ManifoldCFException
Description copied from class:ConnectorPool
Override this method to check if a connection name is still valid.- Specified by:
isConnectionNameValid
in classConnectorPool<IOutputConnector>
- Throws:
ManifoldCFException
-
grabMultiple
public IOutputConnector[] grabMultiple(IThreadContext tc, java.lang.String[] orderingKeys, java.lang.String[] connectionNames, java.lang.String[] classNames, ConfigParams[] configInfos, int[] maxPoolSizes) throws ManifoldCFException
- Throws:
ManifoldCFException
-
-