- java.lang.Object
-
- swim.runtime.AbstractSwimRef
-
- swim.runtime.AbstractTierBinding
-
- swim.runtime.agent.AgentNode
-
- swim.reflect.agent.MetaAgent
-
- All Implemented Interfaces:
Executor
,DownlinkFactory
,LaneFactory
,SwimRef
,Schedule
,Stage
,Task
,TaskFunction
,CellBinding
,CellContext
,NodeBinding
,TierBinding
,Log
- Direct Known Subclasses:
MetaCellAgent
,MetaLinkAgent
public abstract class MetaAgent extends AgentNode
-
-
Field Summary
Fields Modifier and Type Field Description protected LinkStats
linkDelta
protected LinkStats
linkTotal
-
Fields inherited from class swim.runtime.agent.AgentNode
nodeContext, taskContext
-
Fields inherited from class swim.runtime.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 Constructor Description MetaAgent()
-
Method Summary
-
Methods inherited from class swim.runtime.agent.AgentNode
agentKey, bindDownlink, call, closeDownlink, closeLane, commandLane, createdTime, createLaneContext, debug, demandLane, demandMapLane, didClose, didFail, error, execute, geospatialLane, getLane, getLanes, hostUri, httpDownlink, httpUplink, info, joinMapLane, joinValueLane, listLane, mapLane, meshUri, nodeContext, nodeUri, normalizeLaneUri, openDownlink, openLane, openLane, openLaneView, openUplink, partKey, policy, pushDown, pushUp, runTask, schedule, setTaskContext, setTimer, spatialLane, stage, store, supplyLane, task, taskContext, taskDidCancel, taskWillBlock, taskWillCue, tierContext, timer, trace, unwrapNode, valueLane, warn, willClose, willLoad, willOpen, willStart, willStop, willUnload, wsLane
-
Methods inherited from class swim.runtime.AbstractTierBinding
activate, didLoad, didOpen, didStart, didStop, didUnload, isClosed, isLoaded, isOpened, isStarted, load, open, start, stop, unload
-
Methods inherited from class swim.runtime.AbstractSwimRef
command, command, command, command, command, command, command, command, downlink, downlinkHttp, downlinkList, downlinkMap, downlinkValue, downlinkWs, hostRef, hostRef, laneRef, laneRef, laneRef, laneRef, nodeRef, nodeRef, nodeRef, nodeRef
-
-
-
-
Method Detail
-
meta
public abstract Meta meta()
-
setNodeContext
public void setNodeContext(NodeContext nodeContext)
- Specified by:
setNodeContext
in interfaceNodeBinding
- Overrides:
setNodeContext
in classAgentNode
-
openLanes
protected void openLanes()
-
linkStats
public LinkStats linkStats()
-
didOpenDownlink
public void didOpenDownlink(LinkBinding link)
-
didCloseDownlink
public void didCloseDownlink(LinkBinding link)
-
didOpenUplink
public void didOpenUplink(LinkBinding link)
-
didCloseUplink
public void didCloseUplink(Value linkKey)
-
didPushDown
public void didPushDown(PushRequest pushRequest)
-
didPushUp
public void didPushUp(PushRequest pushRequest)
-
setLinkStats
public void setLinkStats(LinkStats stats)
-
accumulateLinkStats
public void accumulateLinkStats(LinkStats stats)
-
didUpdateStats
public void didUpdateStats()
-
bubbleStats
public void bubbleStats()
-
bubbleLinkStats
protected void bubbleLinkStats()
-
cueStats
public void cueStats()
-
cueLinkStats
protected void cueLinkStats()
-
didLogTrace
public void didLogTrace(LogEntry entry)
-
bubbleTraceLog
protected void bubbleTraceLog(LogEntry entry)
-
didLogDebug
public void didLogDebug(LogEntry entry)
-
bubbleDebugLog
protected void bubbleDebugLog(LogEntry entry)
-
didLogInfo
public void didLogInfo(LogEntry entry)
-
bubbleInfoLog
protected void bubbleInfoLog(LogEntry entry)
-
didLogWarn
public void didLogWarn(LogEntry entry)
-
bubbleWarnLog
protected void bubbleWarnLog(LogEntry entry)
-
didLogError
public void didLogError(LogEntry entry)
-
bubbleErrorLog
protected void bubbleErrorLog(LogEntry entry)
-
didLogFail
public void didLogFail(LogEntry entry)
-
bubbleFailLog
protected void bubbleFailLog(LogEntry entry)
-
close
public void close()
- Specified by:
close
in interfaceSwimRef
- Specified by:
close
in interfaceTierBinding
- Overrides:
close
in classAbstractTierBinding
-
-