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
LimitedConcurrencyCaller
execute
in interface LimitedConcurrencyCaller
T
- value returned from provided codeE
- exception that might be thrown in provided codeE
E extends Exception
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.