public interface UnitOfWorkSpawnStrategy
UnitOfWork
class.
The default strategy is UnitOfWorkExecutorStrategy
.UnitOfWork
,
Flow
,
Cascade
Modifier and Type | Method and Description |
---|---|
void |
complete(UnitOfWork unitOfWork,
int duration,
TimeUnit unit) |
boolean |
isCompleted(UnitOfWork unitOfWork) |
List<Future<Throwable>> |
start(UnitOfWork unitOfWork,
int maxConcurrentThreads,
Collection<Callable<Throwable>> values) |
List<Future<Throwable>> start(UnitOfWork unitOfWork, int maxConcurrentThreads, Collection<Callable<Throwable>> values) throws InterruptedException
InterruptedException
boolean isCompleted(UnitOfWork unitOfWork)
void complete(UnitOfWork unitOfWork, int duration, TimeUnit unit) throws InterruptedException
InterruptedException
Copyright © 2007-2015 Concurrent, Inc. All Rights Reserved.