/** * Execute the job. * * @param pp the ParallelPrecomputer that is performing the operation * @param threadNo the number of the thread performing the operation, for logging * @throws ObjectStoreException if something goes wrong */ private void execute(ParallelPrecomputer pp, int threadNo) throws ObjectStoreException { LOG.info("Job with key " + key + " has expected time " + info.getComplete()); pp.precomputeQuery(key, query, indexes, allFields, category, threadNo); }
/** * Execute the job. * * @param pp the ParallelPrecomputer that is performing the operation * @param threadNo the number of the thread performing the operation, for logging * @throws ObjectStoreException if something goes wrong */ private void execute(ParallelPrecomputer pp, int threadNo) throws ObjectStoreException { LOG.info("Job with key " + key + " has expected time " + info.getComplete()); pp.precomputeQuery(key, query, indexes, allFields, category, threadNo); }