|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.manifoldcf.authorities.interfaces.AuthorityConnectorFactory.Pool
public static class AuthorityConnectorFactory.Pool
This class represents a value in the pool hash, which corresponds to a given key.
| Field Summary | |
|---|---|
protected AuthorityConnectorFactory.PoolKey |
key
|
protected int |
numFree
|
protected java.util.ArrayList |
stack
|
| Constructor Summary | |
|---|---|
AuthorityConnectorFactory.Pool(AuthorityConnectorFactory.PoolKey pk,
int maxCount)
Constructor |
|
| Method Summary | |
|---|---|
IAuthorityConnector |
getConnector(IThreadContext threadContext)
Grab a repository connector. |
void |
pollAll(IThreadContext threadContext)
Notify all free connectors. |
void |
releaseAll(IThreadContext threadContext)
Release all free connectors. |
void |
releaseConnector(IAuthorityConnector connector)
Release a repository 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 AuthorityConnectorFactory.PoolKey key
protected int numFree
| Constructor Detail |
|---|
public AuthorityConnectorFactory.Pool(AuthorityConnectorFactory.PoolKey pk,
int maxCount)
| Method Detail |
|---|
public IAuthorityConnector getConnector(IThreadContext threadContext)
throws ManifoldCFException
ManifoldCFException
public void releaseConnector(IAuthorityConnector 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 | ||||||||