org.omnaest.utils.threads.submit
Interface SubmitGroup<T>
- Type Parameters:
T -
- All Superinterfaces:
- Serializable
public interface SubmitGroup<T>
- extends Serializable
A group of Callable submits which share the same result type
- Author:
- Omnaest
submit
SubmitGroup<T> submit(Callable<T> callable)
- Parameters:
callable - Callable
- Returns:
- this
submit
SubmitGroup<T> submit(Callable<T> callable,
int numberOfTimes)
- Parameters:
callable - CallablenumberOfTimes -
- Returns:
- this
doWait
Waiter<T> doWait()
- Returns:
Waiter
Copyright © 2013. All Rights Reserved.