|
Infinispan Distribution 5.2.6.Final-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DistributedTaskBuilder<T>
DistributedTaskBuilder is a factory interface for DistributedTask
Method Summary | |
---|---|
DistributedTask<T> |
build()
Completes creation of DistributedTask with the currently provided attributes of this DistributedTaskBuilder |
DistributedTaskBuilder<T> |
callable(Callable<T> callable)
Provide relevant Callable for the DistributedTask |
DistributedTaskBuilder<T> |
executionPolicy(DistributedTaskExecutionPolicy policy)
Provide DistributedTaskExecutionPolicy for the task being built |
DistributedTaskBuilder<T> |
failoverPolicy(DistributedTaskFailoverPolicy policy)
Provide DistributedTaskFailoverPolicy for the task being built |
DistributedTaskBuilder<T> |
timeout(long timeout,
TimeUnit tu)
Provide DistributedTask task timeout |
Method Detail |
---|
DistributedTaskBuilder<T> callable(Callable<T> callable)
Callable
for the DistributedTask
callable
- for the DistribtuedTask being built
DistributedTaskBuilder<T> timeout(long timeout, TimeUnit tu)
DistributedTask
task timeout
timeout
- for the tasktu
- TimeUnit
for the task being built
DistributedTaskBuilder<T> executionPolicy(DistributedTaskExecutionPolicy policy)
DistributedTaskExecutionPolicy
for the task being built
policy
- DistributedTaskExecutionPolicy for the task
DistributedTaskBuilder<T> failoverPolicy(DistributedTaskFailoverPolicy policy)
DistributedTaskFailoverPolicy
for the task being built
policy
- DistributedTaskFailoverPolicy for the task
DistributedTask<T> build()
|
Infinispan Distribution 5.2.6.Final-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |