Package com.rpl.agentorama
Interface RunInfo
public interface RunInfo
-
Method Summary
Modifier and TypeMethodDescriptionReturns name of the action.Get agent invoke handle for the runReturns agent name this run was from.Returns stats for agent run.Get all feedback on this run.Return latency of this run.If this is RunInfo for a node, returns node invoke information.If this is RunInfo for a node, returns node name this run was from.Returns nested op info for node run.Returns name of the rule for the action.Returns whether this is a run info for an agent or a node.longReturns the start time of the run.
-
Method Details
-
getRuleName
String getRuleName()Returns name of the rule for the action.- Returns:
- rule name
-
getActionName
String getActionName()Returns name of the action.- Returns:
- action name
-
getAgentName
String getAgentName()Returns agent name this run was from.- Returns:
- agent name
-
getAgentInvoke
AgentInvoke getAgentInvoke()Get agent invoke handle for the run- Returns:
- agent invoke handle
-
getNodeName
String getNodeName()If this is RunInfo for a node, returns node name this run was from. Otherwise, returns null.- Returns:
- node name
-
getNodeInvoke
NodeInvoke getNodeInvoke()If this is RunInfo for a node, returns node invoke information. Otherwise, returns null.- Returns:
- node invoke
-
getRunType
RunType getRunType()Returns whether this is a run info for an agent or a node.- Returns:
- run type
-
getStartTimeMillis
long getStartTimeMillis()Returns the start time of the run.- Returns:
- start time in milliseconds since epoch
-
getLatencyMillis
Long getLatencyMillis()Return latency of this run. May be null if the node failed and never completed.- Returns:
- latency in milliseconds
-
getFeedback
Get all feedback on this run.- Returns:
- List of feedback in order in which they were given
-
getAgentStats
AgentInvokeStats getAgentStats()Returns stats for agent run. This method returns null if this is a RunInfo for a node.- Returns:
- agent invoke stats
-
getNodeNestedOps
List<NestedOpInfo> getNodeNestedOps()Returns nested op info for node run. This method returns null if this is a RunInfo for an agent.- Returns:
- list of nested op infos in order of their execution
-