public class RepositoryHelperPoolImpl extends Object implements RepositoryHelperPool
RepositoryHelperPoolImpl implements a pool of repository helper
 instances.| Modifier and Type | Method and Description | 
|---|---|
| void | addHelper(RepositoryHelper helper) | 
| RepositoryHelper | borrowHelper()Borrows a repository helper instance. | 
| RepositoryHelper[] | borrowHelpers()Borrows all available repository helper instances. | 
| static RepositoryHelperPool | getInstance() | 
| void | returnHelper(RepositoryHelper helper)Returns the given repository helper to the pool. | 
public static RepositoryHelperPool getInstance()
public void addHelper(RepositoryHelper helper)
public RepositoryHelper borrowHelper() throws InterruptedException
RepositoryHelperPoolborrowHelper in interface RepositoryHelperPoolInterruptedException - if this thread is interrupted while waiting
                              for a repository helper.public RepositoryHelper[] borrowHelpers() throws InterruptedException
RepositoryHelperPoolborrowHelpers in interface RepositoryHelperPoolInterruptedException - if this thread is interrupted while waiting
                              for a repository helper.public void returnHelper(RepositoryHelper helper)
RepositoryHelperPoolreturnHelper in interface RepositoryHelperPoolhelper - the repository helper to return.Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.