fr.cnes.sirius.validate.parallel
Interface ParallelTaskFactory<T extends ParallelTask>

Type Parameters:
T - the ParallelType implementation type.

public interface ParallelTaskFactory<T extends ParallelTask>

A ParallelTaskFactory is used to create ParallelTask instances.

Since:
1.2
Version:
$Id: ParallelTaskFactory.java 17578 2017-05-10 12:20:20Z bignon $
Author:
cardosop
Concurrency :
not thread-safe
Concurrency comment :
the instances of ParallelTask need to be created in the main thread to reduce overhead.

Method Summary
 T newInstance()
          Factory method providing new instances of T.
 void reset()
          Reset method, if the factory maintains a state for the tasks.
 

Method Detail

newInstance

T newInstance()
Factory method providing new instances of T.

Returns:
a new ParallelType implementation instance.

reset

void reset()
Reset method, if the factory maintains a state for the tasks.



Copyright © 2017 CNES. All Rights Reserved.