|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.manifoldcf.agents.interfaces.OutputConnectorFactory.Pool
public static class OutputConnectorFactory.Pool
This class represents a value in the pool hash, which corresponds to a given key.
| Field Summary | |
|---|---|
protected OutputConnectorFactory.PoolKey |
key
|
protected int |
numFree
|
protected java.util.ArrayList |
stack
|
| Constructor Summary | |
|---|---|
OutputConnectorFactory.Pool(OutputConnectorFactory.PoolKey pk,
int maxCount)
Constructor |
|
| Method Summary | |
|---|---|
IOutputConnector |
getConnector(IThreadContext threadContext)
Grab an output connector. |
void |
pollAll(IThreadContext threadContext)
Notify all free connectors. |
void |
releaseAll(IThreadContext threadContext)
Release all free connectors. |
void |
releaseConnector(IOutputConnector connector)
Release an output connector to the pool. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.util.ArrayList stack
protected OutputConnectorFactory.PoolKey key
protected int numFree
| Constructor Detail |
|---|
public OutputConnectorFactory.Pool(OutputConnectorFactory.PoolKey pk,
int maxCount)
| Method Detail |
|---|
public IOutputConnector getConnector(IThreadContext threadContext)
throws ManifoldCFException
ManifoldCFException
public void releaseConnector(IOutputConnector connector)
throws ManifoldCFException
connector - is the connector.
ManifoldCFException
public void pollAll(IThreadContext threadContext)
throws ManifoldCFException
ManifoldCFException
public void releaseAll(IThreadContext threadContext)
throws ManifoldCFException
ManifoldCFException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||