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 void
accumulatePartProfile
(PartProfile profile) protected void
addPart
(Value partKey, PartBinding part) bindDownlink
(Downlink downlink) <T> T
bottomMesh
(Class<T> meshClass) final MeshAddress
void
closeDownlink
(LinkBinding link) void
protected MeshProfile
collectProfile
(long dt) protected PartContext
createPartContext
(PartAddress partAddress, PartBinding part) void
Logs a debug-level message.void
didClose()
protected void
didClosePart
(PartBinding part) void
protected void
didOpenPart
(PartBinding part) protected void
final EdgeBinding
edge()
final String
edgeName()
void
Logs an error-level message.void
Logs an fail-level message.protected void
gateway()
void
Logs an info-level message.final MeshContext
final Uri
meshUri()
final MeshBinding
void
openDownlink
(LinkBinding link) protected void
openLogLanes
(MeshBinding mesh, AgentNode metaMesh) void
openMetaDownlink
(LinkBinding downlink, NodeBinding metaDownlink) void
openMetaHost
(HostBinding host, NodeBinding metaHost) void
openMetaLane
(LaneBinding lane, NodeBinding metaLane) protected void
openMetaLanes
(MeshBinding mesh, AgentNode metaMesh) void
openMetaMesh
(MeshBinding mesh, NodeBinding metaMesh) void
openMetaNode
(NodeBinding node, NodeBinding metaNode) void
openMetaPart
(PartBinding part, NodeBinding metaPart) void
openMetaUplink
(LinkBinding uplink, NodeBinding metaUplink) protected void
openReflectLanes
(MeshBinding mesh, AgentNode metaMesh) void
openUplink
(LinkBinding link) ourself()
parts()
policy()
void
void
void
reportDown
(Metric metric) protected void
reportMetrics
(long dt) schedule()
void
setGateway
(PartBinding gateway) void
setMeshContext
(MeshContext meshContext) void
setOurself
(PartBinding ourself) stage()
store()
final TierContext
void
Logs a trace-level message.<T> T
unwrapMesh
(Class<T> meshClass) void
Logs a warn-level message.protected void
protected void
willLoad()
protected void
willOpen()
protected void
protected void
willStop()
protected void
Methods inherited from class swim.system.AbstractTierBinding
activate, awaitStart, close, didLoad, didOpen, didStart, didStop, didUnload, isClosed, isLoaded, isOpened, isStarted, load, open, start, stop, unload
Methods 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:
tierContext
in interfaceTierBinding
- Specified by:
tierContext
in classAbstractTierBinding
-
edge
- Specified by:
edge
in interfaceMeshBinding
-
meshWrapper
- Specified by:
meshWrapper
in interfaceMeshBinding
-
meshContext
- Specified by:
meshContext
in interfaceMeshBinding
-
setMeshContext
- Specified by:
setMeshContext
in interfaceMeshBinding
-
unwrapMesh
- Specified by:
unwrapMesh
in interfaceMeshBinding
-
bottomMesh
- Specified by:
bottomMesh
in interfaceMeshBinding
-
createPartContext
-
cellAddress
- Specified by:
cellAddress
in interfaceCellContext
- Specified by:
cellAddress
in interfaceMeshBinding
-
edgeName
- Specified by:
edgeName
in interfaceCellContext
-
meshUri
- Specified by:
meshUri
in interfaceCellContext
- Specified by:
meshUri
in interfaceMeshBinding
-
policy
- Specified by:
policy
in interfaceCellContext
-
schedule
- Specified by:
schedule
in interfaceCellContext
-
stage
- Specified by:
stage
in interfaceCellContext
-
store
- Specified by:
store
in interfaceCellContext
-
openMetaMesh
- Specified by:
openMetaMesh
in interfaceMeshBinding
-
openMetaLanes
-
openReflectLanes
-
openLogLanes
-
gateway
- Specified by:
gateway
in interfaceMeshBinding
-
setGateway
- Specified by:
setGateway
in interfaceMeshBinding
-
ourself
- Specified by:
ourself
in interfaceMeshBinding
-
setOurself
- Specified by:
setOurself
in interfaceMeshBinding
-
parts
- Specified by:
parts
in interfaceMeshBinding
-
getPart
- Specified by:
getPart
in interfaceMeshBinding
-
getPart
- Specified by:
getPart
in interfaceMeshBinding
-
openPart
- Specified by:
openPart
in interfaceMeshBinding
-
openGateway
- Specified by:
openGateway
in interfaceMeshBinding
-
addPart
- Specified by:
addPart
in interfaceMeshBinding
-
closePart
-
didOpenPart
-
didClosePart
-
openMetaPart
- Specified by:
openMetaPart
in interfaceMeshBinding
-
openMetaHost
- Specified by:
openMetaHost
in interfaceMeshBinding
-
openMetaNode
- Specified by:
openMetaNode
in interfaceMeshBinding
-
openMetaLane
- Specified by:
openMetaLane
in interfaceMeshBinding
-
openMetaUplink
- Specified by:
openMetaUplink
in interfaceMeshBinding
-
openMetaDownlink
- Specified by:
openMetaDownlink
in interfaceCellContext
-
bindDownlink
- Specified by:
bindDownlink
in interfaceCellContext
-
openDownlink
- Specified by:
openDownlink
in interfaceCellContext
-
closeDownlink
- Specified by:
closeDownlink
in interfaceCellContext
-
openUplink
- Specified by:
openUplink
in interfaceCellBinding
-
pushDown
- Specified by:
pushDown
in interfaceCellContext
-
pushUp
- Specified by:
pushUp
in interfaceCellBinding
-
trace
Description copied from interface:Log
Logs a trace-level message. -
debug
Description copied from interface:Log
Logs a debug-level message. -
info
Description copied from interface:Log
Logs an info-level message. -
warn
Description copied from interface:Log
Logs a warn-level message. -
error
Description copied from interface:Log
Logs an error-level message. -
fail
Description copied from interface:Log
Logs an fail-level message. -
willOpen
protected void willOpen()- Overrides:
willOpen
in classAbstractTierBinding
-
willLoad
protected void willLoad()- Overrides:
willLoad
in classAbstractTierBinding
-
willStart
protected void willStart()- Overrides:
willStart
in classAbstractTierBinding
-
willStop
protected void willStop()- Overrides:
willStop
in classAbstractTierBinding
-
willUnload
protected void willUnload()- Overrides:
willUnload
in classAbstractTierBinding
-
willClose
protected void willClose()- Overrides:
willClose
in classAbstractTierBinding
-
didClose
public void didClose()- Specified by:
didClose
in interfaceTierBinding
- Overrides:
didClose
in classAbstractTierBinding
-
didFail
- Specified by:
didFail
in interfaceTierBinding
- Overrides:
didFail
in classAbstractTierBinding
-
reportDown
- Specified by:
reportDown
in interfaceCellContext
-
accumulatePartProfile
-
accumulateWarpDownlinkProfile
-
didUpdateMetrics
protected void didUpdateMetrics() -
flushMetrics
protected void flushMetrics() -
reportMetrics
protected void reportMetrics(long dt) -
collectProfile
-