java.lang.Object
swim.system.AbstractWarpRef
swim.system.AbstractTierBinding
swim.system.router.EdgeTable
- All Implemented Interfaces:
DownlinkFactory,WarpRef,CellBinding,CellContext,EdgeBinding,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 voidaccumulateMeshProfile(MeshProfile profile) protected voidbindDownlink(Downlink downlink) <T> TbottomEdge(Class<T> edgeClass) final EdgeAddressvoidcloseDownlink(LinkBinding link) voidprotected EdgeProfilecollectProfile(long dt) protected MeshContextcreateMeshContext(MeshAddress meshAddress, MeshBinding mesh) voidLogs a debug-level message.voiddidClose()protected voiddidCloseMesh(MeshBinding mesh) voidprotected voiddidOpenMesh(MeshBinding mesh) protected voidfinal EdgeContextfinal StringedgeName()final EdgeBindingvoidLogs an error-level message.voidLogs an fail-level message.protected voidvoidLogs an info-level message.meshes()final UrimeshUri()network()voidopenDownlink(LinkBinding link) protected voidopenLogLanes(EdgeBinding edge, AgentNode metaEdge) openMesh(Uri meshUri, MeshBinding mesh) voidopenMetaDownlink(LinkBinding downlink, NodeBinding metaDownlink) voidopenMetaEdge(EdgeBinding edge, NodeBinding metaEdge) voidopenMetaHost(HostBinding host, NodeBinding metaHost) voidopenMetaLane(LaneBinding lane, NodeBinding metaLane) protected voidopenMetaLanes(EdgeBinding edge, AgentNode metaEdge) voidopenMetaMesh(MeshBinding mesh, NodeBinding metaMesh) voidopenMetaNode(NodeBinding node, NodeBinding metaNode) voidopenMetaPart(PartBinding part, NodeBinding metaPart) voidopenMetaUplink(LinkBinding uplink, NodeBinding metaUplink) protected voidopenReflectLanes(EdgeBinding edge, AgentNode metaEdge) voidopenUplink(LinkBinding link) policy()voidvoidvoidreportDown(Metric metric) protected voidreportMetrics(long dt) schedule()voidsetEdgeContext(EdgeContext edgeContext) voidsetNetwork(MeshBinding network) stage()store()final TierContextvoidLogs a trace-level message.<T> TunwrapEdge(Class<T> edgeClass) 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
-
edgeContext
-
-
Constructor Details
-
EdgeTable
public EdgeTable()
-
-
Method Details
-
tierContext
- Specified by:
tierContextin interfaceTierBinding- Specified by:
tierContextin classAbstractTierBinding
-
edgeWrapper
- Specified by:
edgeWrapperin interfaceEdgeBinding
-
edgeContext
- Specified by:
edgeContextin interfaceEdgeBinding
-
setEdgeContext
- Specified by:
setEdgeContextin interfaceEdgeBinding
-
unwrapEdge
- Specified by:
unwrapEdgein interfaceEdgeBinding
-
bottomEdge
- Specified by:
bottomEdgein interfaceEdgeBinding
-
createMeshContext
-
cellAddress
- Specified by:
cellAddressin interfaceCellContext- Specified by:
cellAddressin interfaceEdgeBinding
-
edgeName
- Specified by:
edgeNamein interfaceCellContext- Specified by:
edgeNamein interfaceEdgeBinding
-
meshUri
- Specified by:
meshUriin interfaceCellContext
-
policy
- Specified by:
policyin interfaceCellContext
-
schedule
- Specified by:
schedulein interfaceCellContext
-
stage
- Specified by:
stagein interfaceCellContext
-
store
- Specified by:
storein interfaceCellContext
-
openMetaEdge
- Specified by:
openMetaEdgein interfaceEdgeBinding
-
openMetaLanes
-
openReflectLanes
-
openLogLanes
-
network
- Specified by:
networkin interfaceEdgeBinding
-
setNetwork
- Specified by:
setNetworkin interfaceEdgeBinding
-
meshes
- Specified by:
meshesin interfaceEdgeBinding
-
getMesh
- Specified by:
getMeshin interfaceEdgeBinding
-
openMesh
- Specified by:
openMeshin interfaceEdgeBinding
-
openMesh
- Specified by:
openMeshin interfaceEdgeBinding
-
closeMesh
-
didOpenMesh
-
didCloseMesh
-
openMetaMesh
- Specified by:
openMetaMeshin interfaceEdgeBinding
-
openMetaPart
- Specified by:
openMetaPartin interfaceEdgeBinding
-
openMetaHost
- Specified by:
openMetaHostin interfaceEdgeBinding
-
openMetaNode
- Specified by:
openMetaNodein interfaceEdgeBinding
-
openMetaLane
- Specified by:
openMetaLanein interfaceEdgeBinding
-
openMetaUplink
- Specified by:
openMetaUplinkin interfaceEdgeBinding
-
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
-
accumulateMeshProfile
-
accumulateWarpDownlinkProfile
-
didUpdateMetrics
protected void didUpdateMetrics() -
flushMetrics
protected void flushMetrics() -
reportMetrics
protected void reportMetrics(long dt) -
collectProfile
-