com.atlassian.bamboo.build
Class LimitedConcurrencyCallerImpl
java.lang.Object
com.atlassian.bamboo.build.LimitedConcurrencyCallerImpl
- All Implemented Interfaces:
- LimitedConcurrencyCaller
public class LimitedConcurrencyCallerImpl
- extends Object
- implements LimitedConcurrencyCaller
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LimitedConcurrencyCallerImpl
public LimitedConcurrencyCallerImpl(int numberOfThreads)
execute
public <T,E extends Exception> T execute(LimitedConcurrencyCaller.Callable<T,E> callable)
throws E extends Exception
- Description copied from interface:
LimitedConcurrencyCaller
- Execute code provided as Callable
- Specified by:
execute
in interface LimitedConcurrencyCaller
- Type Parameters:
T
- value returned from provided codeE
- exception that might be thrown in provided code
- Returns:
-
- Throws:
E
E extends Exception
Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.