- java.lang.Object
-
- swim.runtime.AbstractSwimRef
-
- swim.runtime.AbstractTierBinding
-
- swim.runtime.agent.AgentNode
-
- swim.reflect.agent.MetaAgent
-
- swim.reflect.agent.MetaCellAgent
-
- swim.reflect.agent.MetaRouterAgent
-
- All Implemented Interfaces:
Executor
,DownlinkFactory
,LaneFactory
,SwimRef
,Schedule
,Stage
,Task
,TaskFunction
,CellBinding
,CellContext
,NodeBinding
,TierBinding
,Log
- Direct Known Subclasses:
MetaGlobalAgent
,MetaHostAgent
,MetaNodeAgent
public abstract class MetaRouterAgent extends MetaCellAgent
-
-
Field Summary
Fields Modifier and Type Field Description protected RouterStats
routerDelta
protected RouterStats
routerTotal
protected StoreStats
storeDelta
protected StoreStats
storeTotal
-
Fields inherited from class swim.reflect.agent.MetaCellAgent
dataDelta, dataTotal
-
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 MetaRouterAgent()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
accumulateRouterStats(RouterStats stats)
void
accumulateStoreStats(StoreStats stats)
protected void
bubbleRouterStats()
void
bubbleStats()
protected void
bubbleStoreStats()
protected void
cueRouterStats()
void
cueStats()
protected void
cueStoreStats()
void
cueSystemStats()
abstract MetaRouter
meta()
protected void
openLanes()
ProcessStats
processStats()
RouterStats
routerStats()
void
setRouterStats(RouterStats stats)
void
setStoreStats(StoreStats stats)
void
storeDidCommit(long commitSize)
void
storeDidCompact()
StoreStats
storeStats()
SystemStats
systemStats()
-
Methods inherited from class swim.reflect.agent.MetaCellAgent
accumulateDataStats, bubbleDataStats, cueDataStats, dataDidChange, dataDidLoadPage, dataStats, setDataStats
-
Methods inherited from class swim.reflect.agent.MetaAgent
accumulateLinkStats, bubbleDebugLog, bubbleErrorLog, bubbleFailLog, bubbleInfoLog, bubbleLinkStats, bubbleTraceLog, bubbleWarnLog, close, cueLinkStats, didCloseDownlink, didCloseUplink, didLogDebug, didLogError, didLogFail, didLogInfo, didLogTrace, didLogWarn, didOpenDownlink, didOpenUplink, didPushDown, didPushUp, didUpdateStats, linkStats, setLinkStats, setNodeContext
-
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
-
-
-
-
Field Detail
-
routerTotal
protected final RouterStats routerTotal
-
routerDelta
protected final RouterStats routerDelta
-
storeTotal
protected final StoreStats storeTotal
-
storeDelta
protected final StoreStats storeDelta
-
-
Method Detail
-
meta
public abstract MetaRouter meta()
- Specified by:
meta
in classMetaCellAgent
-
openLanes
protected void openLanes()
- Overrides:
openLanes
in classMetaCellAgent
-
routerStats
public RouterStats routerStats()
-
setRouterStats
public void setRouterStats(RouterStats stats)
-
accumulateRouterStats
public void accumulateRouterStats(RouterStats stats)
-
bubbleRouterStats
protected void bubbleRouterStats()
-
cueRouterStats
protected void cueRouterStats()
-
storeStats
public StoreStats storeStats()
-
storeDidCommit
public void storeDidCommit(long commitSize)
-
storeDidCompact
public void storeDidCompact()
-
setStoreStats
public void setStoreStats(StoreStats stats)
-
accumulateStoreStats
public void accumulateStoreStats(StoreStats stats)
-
bubbleStoreStats
protected void bubbleStoreStats()
-
cueStoreStats
protected void cueStoreStats()
-
bubbleStats
public void bubbleStats()
- Overrides:
bubbleStats
in classMetaCellAgent
-
cueStats
public void cueStats()
- Overrides:
cueStats
in classMetaCellAgent
-
processStats
public ProcessStats processStats()
-
systemStats
public SystemStats systemStats()
-
cueSystemStats
public void cueSystemStats()
-
-