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 6330 2012-09-21 07:07:07Z CardosoP $
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 © 2016 CNES. All Rights Reserved.