cascading.management
Interface UnitOfWorkSpawnStrategy
- All Known Implementing Classes:
- UnitOfWorkExecutorStrategy
public interface UnitOfWorkSpawnStrategy
The interface UnitOfWorkSpawnStrategy is a strategy for allowing pluggable thread management services into
any UnitOfWork
class.
The default strategy is UnitOfWorkExecutorStrategy
.
- See Also:
UnitOfWork
,
Flow
,
Cascade
start
List<Future<Throwable>> start(UnitOfWork unitOfWork,
int maxConcurrentThreads,
Collection<Callable<Throwable>> values)
throws InterruptedException
- Throws:
InterruptedException
isCompleted
boolean isCompleted(UnitOfWork unitOfWork)
complete
void complete(UnitOfWork unitOfWork,
int duration,
TimeUnit unit)
throws InterruptedException
- Throws:
InterruptedException
Copyright © 2007-2013 Concurrent, Inc. All Rights Reserved.