edu.berkeley.compbio.jandy.server.resultcollector
Class BatchResultWriter
java.lang.Object
edu.berkeley.compbio.jandy.server.resultcollector.BatchResultWriter
@Service
public class BatchResultWriter
- extends java.lang.Object
A container for all of the results produced by a JobThread. The outer hierarchy layer corresponds to the
ParameterSet hierarchy. The idea is that a single JobThread may produce a number of ParameterSet nodes, each
corresponding to a replicate experiment, or to a different value of some parameter that is being swept over, etc. The
inner hierarchy layer corresponds to the set of key-value pairs within a single ParameterSet. The keys may be
hierarchically organized for symmetry with the input side, but in practice that will rarely be necessary.
The results are stored here in memory, to be written to the database when the job completes.
- Version:
- $Id: ResultCollector.java 643 2009-06-25 05:13:56Z soergel $
- Author:
- David Soergel
|
Method Summary |
void |
writeResult(ParameterSetModel model)
The main benefit of the batch method is that it's all in one transaction, and resultRoot gets set only once |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BatchResultWriter
public BatchResultWriter()
writeResult
@Transactional
public void writeResult(ParameterSetModel model)
- The main benefit of the batch method is that it's all in one transaction, and resultRoot gets set only once
Copyright © 2008-2009. All Rights Reserved.