/src/main/java/net/finmath/montecarlo/interestrate/products/components/AbstractProductComponent.java
private static final int serialVersionUID = -916286619811716575L;
private static final long serialVersionUID = -916286619811716575L;
import java.util.concurrent.TimeUnit; import net.finmath.exception.CalculationException; import net.finmath.montecarlo.interestrate.TermStructureMonteCarloSimulationModel; import net.finmath.montecarlo.interestrate.products.AbstractTermStructureMonteCarloProduct; import net.finmath.stochastic.RandomVariable; public abstract class AbstractProductComponent extends AbstractTermStructureMonteCarloProduct implements Serializable { <extra_id_0> private static ThreadPoolExecutor executor = new ThreadPoolExecutor( Runtime.getRuntime().availableProcessors(), Runtime.getRuntime().availableProcessors(), 10L, TimeUnit.SECONDS, new SynchronousQueue<Runnable>(), new ThreadFactory() { @Override public Thread newThread(final Runnable runnable) {