|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jackrabbit.test.RepositoryHelperPoolImpl
public class RepositoryHelperPoolImpl
RepositoryHelperPoolImpl implements a pool of repository helper
instances.
| Constructor Summary | |
|---|---|
RepositoryHelperPoolImpl()
|
|
| Method Summary | |
|---|---|
void |
addHelper(RepositoryHelper helper)
|
RepositoryHelper |
borrowHelper()
Borrows a repository helper instance. |
void |
returnHelper(RepositoryHelper helper)
Returns the given repository helper to the pool. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RepositoryHelperPoolImpl()
| Method Detail |
|---|
public void addHelper(RepositoryHelper helper)
public RepositoryHelper borrowHelper()
throws java.lang.InterruptedException
RepositoryHelperPool
borrowHelper in interface RepositoryHelperPooljava.lang.InterruptedException - if this thread is interrupted while waiting
for a repository helper.public void returnHelper(RepositoryHelper helper)
RepositoryHelperPool
returnHelper in interface RepositoryHelperPoolhelper - the repository helper to return.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||