@KFStep(name="MakeResourceIntensive", category="Flow", toolTipText="<html>Makes downstream connected steps resource intensive (or not).<br> This shifts processing of such steps between the main step executor<br>service and the high resource executor service or vice versa.</html>", iconPath="weka/gui/knowledgeflow/icons/DiamondPlain.gif") public class MakeResourceIntensive extends BaseStep
| Constructor and Description |
|---|
MakeResourceIntensive() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getIncomingConnectionTypes()
Get a list of incoming connection types that this step can accept.
|
boolean |
getMakeResourceIntensive()
Get whether downstream steps are to be made resource intensive
|
List<String> |
getOutgoingConnectionTypes()
Get a list of outgoing connection types that this step can produce.
|
void |
processIncoming(Data data)
Process an incoming data payload (if the step accepts incoming connections)
|
void |
setMakeResourceIntensive(boolean resourceIntensive)
Set whether downstream steps are to be made resource intensive or not
|
void |
stepInit()
Initialize the step.
|
environmentSubstitute, getCustomEditorForStep, getDefaultSettings, getInteractiveViewers, getInteractiveViewersImpls, getName, getStepManager, globalInfo, isResourceIntensive, isStopRequested, outputStructureForConnectionType, setName, setStepIsResourceIntensive, setStepManager, start, stop@OptionMetadata(displayName="Make downstream step(s) high resource", description="<html>Makes downstream connected steps resource intensive (or not)<br>This shifts processing of such steps between the main step executor service and the high resource executor service or vice versa.</html>") public void setMakeResourceIntensive(boolean resourceIntensive)
resourceIntensive - true if the downstream connected steps are to be
made resource intensivepublic boolean getMakeResourceIntensive()
public void stepInit()
throws WekaException
StepWekaException - if a problem occurs during initializationpublic List<String> getIncomingConnectionTypes()
Steppublic List<String> getOutgoingConnectionTypes()
Steppublic void processIncoming(Data data) throws WekaException
BaseStepprocessIncoming in interface BaseStepExtenderprocessIncoming in interface StepprocessIncoming in class BaseStepdata - the payload to processWekaException - if a problem occursCopyright © 2016 University of Waikato, Hamilton, NZ. All Rights Reserved.