Class ExecutorRepository<O>
java.lang.Object
ecmwf.common.technical.ExecutorRepository<O>
- Type Parameters:
O- the generic type
The Class ExecutorRepository.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedExecutorRepository(int maxWaiting, int maxRunning, List<Exception> exceptions, AtomicLong processedCount, Collection<O> objects) Instantiates a new executor repository.protectedExecutorRepository(List<Exception> exceptions, AtomicLong processedCount, Collection<O> objects) Instantiates a new executor repository. -
Method Summary
-
Constructor Details
-
ExecutorRepository
protected ExecutorRepository(List<Exception> exceptions, AtomicLong processedCount, Collection<O> objects) Instantiates a new executor repository. Process the actions in parallel.- Parameters:
exceptions- the exceptionsprocessedCount- the processed countobjects- the objects
-
ExecutorRepository
protected ExecutorRepository(int maxWaiting, int maxRunning, List<Exception> exceptions, AtomicLong processedCount, Collection<O> objects) Instantiates a new executor repository. Process the actions in parallel.- Parameters:
maxWaiting- the max waitingmaxRunning- the max runningexceptions- the exceptionsprocessedCount- the processed countobjects- the objects
-
-
Method Details
-
exec
-