Class IndexerTaskCommand
java.lang.Object
ubic.gemma.core.job.TaskCommand
ubic.gemma.core.tasks.maintenance.IndexerTaskCommand
- All Implemented Interfaces:
Serializable
- Author:
- klc
- See Also:
-
Field Summary
Fields inherited from class ubic.gemma.core.job.TaskCommand
MAX_QUEUING_MILLIS, MAX_RUNTIME_MILLIS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionObtain the class of theTaskobject that will be run for this command.booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanvoidsetAll(boolean all) Indexing of probes and BioSequences sometimes bails because of the size of the index created.voidsetCompassOn(boolean compassOn) voidsetIndexAD(boolean indexAD) voidsetIndexBibRef(boolean indexBibRef) voidsetIndexBioSequence(boolean indexBioSequence) voidsetIndexEE(boolean indexEE) voidsetIndexExperimentSet(boolean indexExperimentSet) voidsetIndexGene(boolean indexGene) voidsetIndexGeneSet(boolean indexGeneSet) voidsetIndexOntologies(boolean indexOntologies) voidsetIndexOntology(boolean indexBioSequence) voidsetIndexProbe(boolean indexProbe) Methods inherited from class ubic.gemma.core.job.TaskCommand
getMaxQueueMillis, getMaxRuntimeMillis, getPersistJobDetails, getSecurityContext, getSubmitter, isEmailAlert, setEmailAlert, setMaxQueueMillis, setMaxRuntimeMillis, setPersistJobDetails
-
Constructor Details
-
IndexerTaskCommand
public IndexerTaskCommand()
-
-
Method Details
-
getTaskClass
Description copied from class:TaskCommandObtain the class of theTaskobject that will be run for this command.If null, the task command cannot be submitted through
TaskRunningService.submitTaskCommand(TaskCommand)and a task object must be explicitly created.For now, this how we map from TaskCommand to Task that actually runs it. We have to have this mapping somewhere until we make Tasks themselves serializable. Tasks are not readily serializable because they have dependencies to Spring services. at which point TaskCommand can be deprecated(or remain as TaskContext).
- Overrides:
getTaskClassin classTaskCommand
-
isCompassOn
public boolean isCompassOn() -
setCompassOn
public void setCompassOn(boolean compassOn) -
isIndexAD
public boolean isIndexAD() -
setIndexAD
public void setIndexAD(boolean indexAD) -
isIndexBibRef
public boolean isIndexBibRef() -
setIndexBibRef
public void setIndexBibRef(boolean indexBibRef) -
isIndexBioSequence
public boolean isIndexBioSequence() -
setIndexBioSequence
public void setIndexBioSequence(boolean indexBioSequence) -
isIndexEE
public boolean isIndexEE() -
setIndexEE
public void setIndexEE(boolean indexEE) -
isIndexExperimentSet
public boolean isIndexExperimentSet()- Returns:
- the indexExperimentSet
-
setIndexExperimentSet
public void setIndexExperimentSet(boolean indexExperimentSet) - Parameters:
indexExperimentSet- the indexExperimentSet to set
-
isIndexGene
public boolean isIndexGene() -
setIndexGene
public void setIndexGene(boolean indexGene) -
isIndexGeneSet
public boolean isIndexGeneSet()- Returns:
- the indexGeneSet
-
setIndexGeneSet
public void setIndexGeneSet(boolean indexGeneSet) - Parameters:
indexGeneSet- the indexGeneSet to set
-
isIndexOntologies
public boolean isIndexOntologies() -
setIndexOntologies
public void setIndexOntologies(boolean indexOntologies) -
isIndexProbe
public boolean isIndexProbe() -
setIndexProbe
public void setIndexProbe(boolean indexProbe) -
setAll
public void setAll(boolean all) Indexing of probes and BioSequences sometimes bails because of the size of the index created. Also their data rarely changes so there is not much value in indexing it every week. Indexing of probes and biosequences can still be triggered manually.- Parameters:
all- all
-
setIndexOntology
public void setIndexOntology(boolean indexBioSequence)
-