use of org.talend.designer.core.ui.editor.subjobcontainer.sparkstreaming.SparkStreamingSubjobContainer in project tdi-studio-se by Talend.
the class ProcessComposite method refreshSubjobContainer.
/*
* This method is used to clean the Spark Streaming statistics.
*/
public void refreshSubjobContainer() {
org.talend.core.model.process.IProcess2 process = processContext.getProcess();
List<? extends ISubjobContainer> subjobContainers = process.getSubjobContainers();
for (ISubjobContainer subjobContainer : subjobContainers) {
if (subjobContainer instanceof SparkStreamingSubjobContainer) {
((SparkStreamingSubjobContainer) subjobContainer).updateState("UPDATE_SPARKSTREAMING_STATUS", null, 0, 0, "", "", //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
"");
}
}
}
Aggregations