java.lang.Object
swim.system.AbstractWarpRef
swim.system.AbstractTierBinding
swim.system.agent.AgentNode
swim.system.agent.AgentModel
- All Implemented Interfaces:
Executor,DownlinkFactory,LaneFactory,WarpRef,Schedule,Stage,Task,TaskFunction,CellBinding,CellContext,NodeBinding,TierBinding,Log
-
Field Summary
FieldsFields inherited from class swim.system.agent.AgentNode
nodeContext, taskContextFields inherited from class swim.system.AbstractTierBinding
CLOSED_PHASE, CLOSED_STATE, CLOSING_STATE, FAILED_STATE, FAILING_STATE, LOADED_PHASE, LOADED_STATE, LOADING_STATE, OPENED_PHASE, OPENED_STATE, OPENING_STATE, PHASE_MASK, PHASE_SHIFT, RECOVERING_STATE, STARTED_PHASE, STARTED_STATE, STARTING_STATE, STATE_MASK, status, STATUS, STOPPING_STATE, UNLOADING_STATE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccumulateExecTime(long agentExecDelta) protected voidprotected voidaccumulateWarpLaneProfile(WarpLaneProfile profile) addAgentView(AgentView view) agentIds()agents()protected NodeProfilecollectProfile(long dt) createAgent(AgentFactory<?> agentFactory, Value id, Value props) voidLogs a debug-level message.voiddidClose()protected voiddidCloseAgentView(AgentView view) protected voiddidCloseLane(LaneBinding lane) voidprotected voiddidLoad()protected voiddidOpen()protected voiddidOpenAgent(AgentView view) protected voiddidOpenLane(LaneBinding lane) protected voiddidStart()protected voiddidStop()protected voidprotected voidvoidLogs an error-level message.voidLogs an fail-level message.protected void<S extends Agent>
SgetAgentView(Value id) voidLogs an info-level message.<S extends Agent>
SopenAgent(Value id, Value props, AgentFactory<S> agentFactory) protected voidopenLogLanes(NodeBinding node, AgentNode metaNode) protected voidopenMetaLanes(NodeBinding node, AgentNode metaNode) voidopenMetaNode(NodeBinding node, NodeBinding metaNode) protected voidopenReflectLanes(NodeBinding node, AgentNode metaNode) props()voidvoidremoveAgentView(AgentView view) voidreportDown(Metric metric) protected voidreportMetrics(long dt) voidsetNodeContext(NodeContext nodeContext) voidLogs a trace-level message.voidLogs a warn-level message.voidprotected voidwillLoad()protected voidwillOpen()protected voidprotected voidwillStop()protected voidMethods inherited from class swim.system.agent.AgentNode
asyncStage, bindDownlink, bottomNode, call, cellAddress, closeDownlink, closeLane, commandLane, createAgentFactory, createAgentFactory, createdTime, createLaneContext, demandLane, demandMapLane, edgeName, execute, geospatialLane, getLane, host, hostUri, httpLane, identity, joinMapLane, joinValueLane, lanes, listLane, mapLane, meshUri, nodeContext, nodeUri, nodeWrapper, normalizedLaneUri, openAgents, openDownlink, openLane, openLane, openLane, openLanes, openLaneView, openMetaDownlink, openMetaLane, openMetaUplink, openUnknownUplink, openUplink, partKey, policy, pushDown, runTask, schedule, setTaskContext, setTimer, spatialLane, stage, store, supplyLane, task, taskContext, taskDidCancel, taskWillBlock, taskWillCue, tierContext, timer, unwrapNode, valueLane, wsLaneMethods inherited from class swim.system.AbstractTierBinding
activate, awaitStart, close, isClosed, isLoaded, isOpened, isStarted, load, open, start, stop, unloadMethods inherited from class swim.system.AbstractWarpRef
command, command, command, command, command, command, command, command, command, command, command, command, command, command, command, command, downlink, downlinkHttp, downlinkList, downlinkMap, downlinkValue, downlinkWs, hostRef, hostRef, laneRef, laneRef, laneRef, laneRef, nodeRef, nodeRef, nodeRef, nodeRef
-
Field Details
-
props
-
-
Constructor Details
-
AgentModel
-
-
Method Details
-
setNodeContext
- Specified by:
setNodeContextin interfaceNodeBinding- Overrides:
setNodeContextin classAgentNode
-
props
-
openMetaNode
- Specified by:
openMetaNodein interfaceNodeBinding- Overrides:
openMetaNodein classAgentNode
-
openMetaLanes
-
openReflectLanes
-
openLogLanes
-
agentIds
- Specified by:
agentIdsin interfaceNodeBinding- Overrides:
agentIdsin classAgentNode
-
agents
- Specified by:
agentsin interfaceNodeBinding- Overrides:
agentsin classAgentNode
-
getAgentView
-
getAgent
-
addAgentView
-
createAgent
-
openAgent
-
removeAgentView
-
didOpenLane
- Overrides:
didOpenLanein classAgentNode
-
didCloseLane
- Overrides:
didCloseLanein classAgentNode
-
pushUp
- Specified by:
pushUpin interfaceCellBinding- Overrides:
pushUpin classAgentNode
-
trace
Description copied from interface:LogLogs a trace-level message. -
debug
Description copied from interface:LogLogs a debug-level message. -
info
Description copied from interface:LogLogs an info-level message. -
warn
Description copied from interface:LogLogs a warn-level message. -
error
Description copied from interface:LogLogs an error-level message. -
fail
Description copied from interface:LogLogs an fail-level message. -
didOpenAgent
-
didCloseAgentView
-
willOpen
protected void willOpen() -
didOpen
protected void didOpen()- Overrides:
didOpenin classAbstractTierBinding
-
willLoad
protected void willLoad() -
didLoad
protected void didLoad()- Overrides:
didLoadin classAbstractTierBinding
-
willStart
protected void willStart() -
didStart
protected void didStart()- Overrides:
didStartin classAbstractTierBinding
-
willStop
protected void willStop() -
didStop
protected void didStop()- Overrides:
didStopin classAbstractTierBinding
-
willUnload
protected void willUnload()- Overrides:
willUnloadin classAgentNode
-
didUnload
protected void didUnload()- Overrides:
didUnloadin classAbstractTierBinding
-
willClose
public void willClose() -
didClose
public void didClose()- Specified by:
didClosein interfaceTierBinding- Overrides:
didClosein classAgentNode
-
didFail
- Specified by:
didFailin interfaceTierBinding- Overrides:
didFailin classAgentNode
-
reportDown
- Specified by:
reportDownin interfaceCellContext- Overrides:
reportDownin classAgentNode
-
accumulateExecTime
public void accumulateExecTime(long agentExecDelta) -
accumulateWarpLaneProfile
-
accumulateWarpDownlinkProfile
-
didUpdateMetrics
protected void didUpdateMetrics() -
flushMetrics
protected void flushMetrics() -
reportMetrics
protected void reportMetrics(long dt) -
collectProfile
-