chemaxon.util.concurrent
Interface WorkUnitFactory

All Known Implementing Classes:
CompositeWorkUnitFactory, ReusablePluginWorkUnitFactory

public interface WorkUnitFactory

Produces reusable WorkUnit instances. Reusable means here that the Callable.call() method can be called on the same instance (with possibly different inputs).

Author:
pkovacs

Method Summary
 WorkUnit createWorkUnit()
           
 

Method Detail

createWorkUnit

WorkUnit createWorkUnit()
                        throws java.lang.Exception
Returns:
a WorkUnit instance.
Throws:
java.lang.Exception