Class NotificationConnectorPool.LocalPool
- java.lang.Object
-
- org.apache.manifoldcf.core.connectorpool.ConnectorPool<INotificationConnector>
-
- org.apache.manifoldcf.crawler.notificationconnectorpool.NotificationConnectorPool.LocalPool
-
- Enclosing class:
- NotificationConnectorPool
protected static class NotificationConnectorPool.LocalPool extends ConnectorPool<INotificationConnector>
Actual static mapping 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 INotificationConnector[]
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<INotificationConnector>
- 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<INotificationConnector>
- Throws:
ManifoldCFException
-
grabMultiple
public INotificationConnector[] grabMultiple(IThreadContext tc, java.lang.String[] orderingKeys, java.lang.String[] connectionNames, java.lang.String[] classNames, ConfigParams[] configInfos, int[] maxPoolSizes) throws ManifoldCFException
- Throws:
ManifoldCFException
-
-