public interface RepositoryHelperPool
RepositoryHelperPool
defines a pool of repository helper instances.Modifier and Type | Method and Description |
---|---|
RepositoryHelper |
borrowHelper()
Borrows a repository helper instance.
|
RepositoryHelper[] |
borrowHelpers()
Borrows all available repository helper instances.
|
void |
returnHelper(RepositoryHelper helper)
Returns the given repository helper to the pool.
|
RepositoryHelper borrowHelper() throws InterruptedException
InterruptedException
- if this thread is interrupted while waiting
for a repository helper.RepositoryHelper[] borrowHelpers() throws InterruptedException
InterruptedException
- if this thread is interrupted while waiting
for a repository helper.void returnHelper(RepositoryHelper helper)
helper
- the repository helper to return.Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.