public class FunctionMessageHandler
extends step.grid.agent.handler.AbstractMessageHandler
Modifier and Type | Field and Description |
---|---|
static String |
FUNCTION_HANDLER_KEY |
static String |
FUNCTION_HANDLER_PACKAGE_KEY |
FunctionHandlerFactory |
functionHandlerFactory |
Constructor and Description |
---|
FunctionMessageHandler() |
Modifier and Type | Method and Description |
---|---|
protected void |
addAdditionalMeasuresToOutput(step.functions.io.Output<?> output,
List<step.core.reports.Measure> additionalMeasures) |
protected void |
addCustomTypeToOutputMeasures(List<step.core.reports.Measure> outputMeasures) |
protected Map<String,Object> |
customMeasureData() |
step.grid.io.OutputMessage |
handle(step.grid.agent.tokenpool.AgentTokenWrapper token,
step.grid.io.InputMessage inputMessage) |
void |
init(step.grid.agent.AgentTokenServices agentTokenServices) |
public static final String FUNCTION_HANDLER_PACKAGE_KEY
public static final String FUNCTION_HANDLER_KEY
public FunctionHandlerFactory functionHandlerFactory
public void init(step.grid.agent.AgentTokenServices agentTokenServices)
init
in interface step.grid.agent.handler.AgentContextAware
init
in class step.grid.agent.handler.AbstractMessageHandler
public step.grid.io.OutputMessage handle(step.grid.agent.tokenpool.AgentTokenWrapper token, step.grid.io.InputMessage inputMessage) throws Exception
Exception
protected void addCustomTypeToOutputMeasures(List<step.core.reports.Measure> outputMeasures)
protected void addAdditionalMeasuresToOutput(step.functions.io.Output<?> output, List<step.core.reports.Measure> additionalMeasures)
Copyright © 2020. All rights reserved.