Package step.functions.handler
Class FunctionMessageHandler
java.lang.Object
step.grid.agent.handler.AbstractMessageHandler
step.functions.handler.FunctionMessageHandler
- All Implemented Interfaces:
step.grid.agent.handler.AgentContextAware
,step.grid.agent.handler.MessageHandler
public class FunctionMessageHandler
extends step.grid.agent.handler.AbstractMessageHandler
-
Field Summary
Fields inherited from class step.grid.agent.handler.AbstractMessageHandler
agentTokenServices
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addAdditionalMeasuresToOutput
(step.functions.io.Output<?> output, List<step.core.reports.Measure> additionalMeasures) protected void
addCustomTypeToOutputMeasures
(List<step.core.reports.Measure> outputMeasures) step.grid.io.OutputMessage
handle
(step.grid.agent.tokenpool.AgentTokenWrapper token, step.grid.io.InputMessage inputMessage) void
init
(step.grid.agent.AgentTokenServices agentTokenServices) Methods inherited from class step.grid.agent.handler.AbstractMessageHandler
buildPropertyMap, getFileVersionId, retrieveFileVersion
-
Field Details
-
FUNCTION_HANDLER_PACKAGE_KEY
- See Also:
-
FUNCTION_HANDLER_KEY
- See Also:
-
functionHandlerFactory
-
-
Constructor Details
-
FunctionMessageHandler
public FunctionMessageHandler()
-
-
Method Details
-
init
public void init(step.grid.agent.AgentTokenServices agentTokenServices) - Specified by:
init
in interfacestep.grid.agent.handler.AgentContextAware
- Overrides:
init
in classstep.grid.agent.handler.AbstractMessageHandler
-
handle
public step.grid.io.OutputMessage handle(step.grid.agent.tokenpool.AgentTokenWrapper token, step.grid.io.InputMessage inputMessage) throws Exception - Throws:
Exception
-
addCustomTypeToOutputMeasures
-
addAdditionalMeasuresToOutput
protected void addAdditionalMeasuresToOutput(step.functions.io.Output<?> output, List<step.core.reports.Measure> additionalMeasures) -
customMeasureData
-