public class LimitedConcurrencyCallerImpl extends Object implements LimitedConcurrencyCaller
LimitedConcurrencyCaller.Callable<T,E extends Exception>| Constructor and Description |
|---|
LimitedConcurrencyCallerImpl(int numberOfThreads) |
| Modifier and Type | Method and Description |
|---|---|
<T,E extends Exception> |
execute(LimitedConcurrencyCaller.Callable<T,E> callable)
Execute code provided as Callable
|
public LimitedConcurrencyCallerImpl(int numberOfThreads)
public <T,E extends Exception> T execute(LimitedConcurrencyCaller.Callable<T,E> callable) throws E extends Exception
LimitedConcurrencyCallerexecute in interface LimitedConcurrencyCallerT - value returned from provided codeE - exception that might be thrown in provided codeEE extends ExceptionCopyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.