Package com.atlassian.bamboo.build
Class LimitedConcurrencyCallerImpl
java.lang.Object
com.atlassian.bamboo.build.LimitedConcurrencyCallerImpl
- All Implemented Interfaces:
LimitedConcurrencyCaller
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.atlassian.bamboo.build.LimitedConcurrencyCaller
LimitedConcurrencyCaller.Callable<T,
E extends Exception> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<T,
E extends Exception>
Texecute
(LimitedConcurrencyCaller.Callable<T, E> callable) Execute code provided as Callable<T, E>
-
Constructor Details
-
LimitedConcurrencyCallerImpl
public LimitedConcurrencyCallerImpl(int numberOfThreads)
-
-
Method Details
-
execute
Description copied from interface:LimitedConcurrencyCaller
Execute code provided as Callable<T, E>- Specified by:
execute
in interfaceLimitedConcurrencyCaller
- Type Parameters:
T
- value returned from provided codeE
- exception that might be thrown in provided code- Returns:
- Throws:
E
-