Class ArrayDesignReportTaskCommand
- All Implemented Interfaces:
Serializable
The platform counterpart of ExpressionExperimentReportTaskCommand. Needed because these
counts are far too expensive to compute per request — counting distinct genes for one large
platform measures ~1.7s against production — and the Quartz trigger that would refresh them
monthly (SchedulerConfig.arrayDesignReportTrigger) is gated on the scheduler
profile, which production nodes do not run.
- Author:
- paul
- See Also:
-
Field Summary
Fields inherited from class TaskCommand
MAX_QUEUING_MILLIS, MAX_RUNTIME_MILLIS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleandoAll()Class<? extends Task<? extends TaskCommand>> Obtain the class of theTaskobject that will be run for this command.voidvoidsetArrayDesign(ArrayDesign arrayDesign) Methods inherited from class TaskCommand
getMaxQueueMillis, getMaxRuntimeMillis, getPersistJobDetails, getSecurityContext, getSubmitter, isEmailAlert, setEmailAlert, setMaxQueueMillis, setMaxRuntimeMillis, setPersistJobDetails
-
Constructor Details
-
ArrayDesignReportTaskCommand
-
ArrayDesignReportTaskCommand
-
-
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
-
doAll
public boolean doAll() -
getArrayDesign
-
setArrayDesign
-
setAll
-