java.lang.Object
swim.system.AbstractWarpRef
swim.system.AbstractTierBinding
swim.system.router.MeshTable
- All Implemented Interfaces:
DownlinkFactory,WarpRef,CellBinding,CellContext,MeshBinding,TierBinding,Log
-
Field Summary
FieldsFields 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 TypeMethodDescriptionprotected voidaccumulatePartProfile(PartProfile profile) protected voidaddPart(Value partKey, PartBinding part) bindDownlink(Downlink downlink) <T> TbottomMesh(Class<T> meshClass) final MeshAddressvoidcloseDownlink(LinkBinding link) voidprotected MeshProfilecollectProfile(long dt) protected PartContextcreatePartContext(PartAddress partAddress, PartBinding part) voidLogs a debug-level message.voiddidClose()protected voiddidClosePart(PartBinding part) voidprotected voiddidOpenPart(PartBinding part) protected voidfinal EdgeBindingedge()final StringedgeName()voidLogs an error-level message.voidLogs an fail-level message.protected voidgateway()voidLogs an info-level message.final MeshContextfinal UrimeshUri()final MeshBindingvoidopenDownlink(LinkBinding link) protected voidopenLogLanes(MeshBinding mesh, AgentNode metaMesh) voidopenMetaDownlink(LinkBinding downlink, NodeBinding metaDownlink) voidopenMetaHost(HostBinding host, NodeBinding metaHost) voidopenMetaLane(LaneBinding lane, NodeBinding metaLane) protected voidopenMetaLanes(MeshBinding mesh, AgentNode metaMesh) voidopenMetaMesh(MeshBinding mesh, NodeBinding metaMesh) voidopenMetaNode(NodeBinding node, NodeBinding metaNode) voidopenMetaPart(PartBinding part, NodeBinding metaPart) voidopenMetaUplink(LinkBinding uplink, NodeBinding metaUplink) protected voidopenReflectLanes(MeshBinding mesh, AgentNode metaMesh) voidopenUplink(LinkBinding link) ourself()parts()policy()voidvoidvoidreportDown(Metric metric) protected voidreportMetrics(long dt) schedule()voidsetGateway(PartBinding gateway) voidsetMeshContext(MeshContext meshContext) voidsetOurself(PartBinding ourself) stage()store()final TierContextvoidLogs a trace-level message.<T> TunwrapMesh(Class<T> meshClass) voidLogs a warn-level message.protected voidprotected voidwillLoad()protected voidwillOpen()protected voidprotected voidwillStop()protected voidMethods inherited from class swim.system.AbstractTierBinding
activate, awaitStart, close, didLoad, didOpen, didStart, didStop, didUnload, 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
-
meshContext
-
-
Constructor Details
-
MeshTable
public MeshTable()
-
-
Method Details
-
tierContext
- Specified by:
tierContextin interfaceTierBinding- Specified by:
tierContextin classAbstractTierBinding
-
edge
- Specified by:
edgein interfaceMeshBinding
-
meshWrapper
- Specified by:
meshWrapperin interfaceMeshBinding
-
meshContext
- Specified by:
meshContextin interfaceMeshBinding
-
setMeshContext
- Specified by:
setMeshContextin interfaceMeshBinding
-
unwrapMesh
- Specified by:
unwrapMeshin interfaceMeshBinding
-
bottomMesh
- Specified by:
bottomMeshin interfaceMeshBinding
-
createPartContext
-
cellAddress
- Specified by:
cellAddressin interfaceCellContext- Specified by:
cellAddressin interfaceMeshBinding
-
edgeName
- Specified by:
edgeNamein interfaceCellContext
-
meshUri
- Specified by:
meshUriin interfaceCellContext- Specified by:
meshUriin interfaceMeshBinding
-
policy
- Specified by:
policyin interfaceCellContext
-
schedule
- Specified by:
schedulein interfaceCellContext
-
stage
- Specified by:
stagein interfaceCellContext
-
store
- Specified by:
storein interfaceCellContext
-
openMetaMesh
- Specified by:
openMetaMeshin interfaceMeshBinding
-
openMetaLanes
-
openReflectLanes
-
openLogLanes
-
gateway
- Specified by:
gatewayin interfaceMeshBinding
-
setGateway
- Specified by:
setGatewayin interfaceMeshBinding
-
ourself
- Specified by:
ourselfin interfaceMeshBinding
-
setOurself
- Specified by:
setOurselfin interfaceMeshBinding
-
parts
- Specified by:
partsin interfaceMeshBinding
-
getPart
- Specified by:
getPartin interfaceMeshBinding
-
getPart
- Specified by:
getPartin interfaceMeshBinding
-
openPart
- Specified by:
openPartin interfaceMeshBinding
-
openGateway
- Specified by:
openGatewayin interfaceMeshBinding
-
addPart
- Specified by:
addPartin interfaceMeshBinding
-
closePart
-
didOpenPart
-
didClosePart
-
openMetaPart
- Specified by:
openMetaPartin interfaceMeshBinding
-
openMetaHost
- Specified by:
openMetaHostin interfaceMeshBinding
-
openMetaNode
- Specified by:
openMetaNodein interfaceMeshBinding
-
openMetaLane
- Specified by:
openMetaLanein interfaceMeshBinding
-
openMetaUplink
- Specified by:
openMetaUplinkin interfaceMeshBinding
-
openMetaDownlink
- Specified by:
openMetaDownlinkin interfaceCellContext
-
bindDownlink
- Specified by:
bindDownlinkin interfaceCellContext
-
openDownlink
- Specified by:
openDownlinkin interfaceCellContext
-
closeDownlink
- Specified by:
closeDownlinkin interfaceCellContext
-
openUplink
- Specified by:
openUplinkin interfaceCellBinding
-
pushDown
- Specified by:
pushDownin interfaceCellContext
-
pushUp
- Specified by:
pushUpin interfaceCellBinding
-
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. -
willOpen
protected void willOpen()- Overrides:
willOpenin classAbstractTierBinding
-
willLoad
protected void willLoad()- Overrides:
willLoadin classAbstractTierBinding
-
willStart
protected void willStart()- Overrides:
willStartin classAbstractTierBinding
-
willStop
protected void willStop()- Overrides:
willStopin classAbstractTierBinding
-
willUnload
protected void willUnload()- Overrides:
willUnloadin classAbstractTierBinding
-
willClose
protected void willClose()- Overrides:
willClosein classAbstractTierBinding
-
didClose
public void didClose()- Specified by:
didClosein interfaceTierBinding- Overrides:
didClosein classAbstractTierBinding
-
didFail
- Specified by:
didFailin interfaceTierBinding- Overrides:
didFailin classAbstractTierBinding
-
reportDown
- Specified by:
reportDownin interfaceCellContext
-
accumulatePartProfile
-
accumulateWarpDownlinkProfile
-
didUpdateMetrics
protected void didUpdateMetrics() -
flushMetrics
protected void flushMetrics() -
reportMetrics
protected void reportMetrics(long dt) -
collectProfile
-