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 void
accumulateMeshProfile
(MeshProfile profile) protected void
bindDownlink
(Downlink downlink) <T> T
bottomEdge
(Class<T> edgeClass) final EdgeAddress
void
closeDownlink
(LinkBinding link) void
protected EdgeProfile
collectProfile
(long dt) protected MeshContext
createMeshContext
(MeshAddress meshAddress, MeshBinding mesh) void
Logs a debug-level message.void
didClose()
protected void
didCloseMesh
(MeshBinding mesh) void
protected void
didOpenMesh
(MeshBinding mesh) protected void
final EdgeContext
final String
edgeName()
final EdgeBinding
void
Logs an error-level message.void
Logs an fail-level message.protected void
void
Logs an info-level message.meshes()
final Uri
meshUri()
network()
void
openDownlink
(LinkBinding link) protected void
openLogLanes
(EdgeBinding edge, AgentNode metaEdge) openMesh
(Uri meshUri, MeshBinding mesh) void
openMetaDownlink
(LinkBinding downlink, NodeBinding metaDownlink) void
openMetaEdge
(EdgeBinding edge, NodeBinding metaEdge) void
openMetaHost
(HostBinding host, NodeBinding metaHost) void
openMetaLane
(LaneBinding lane, NodeBinding metaLane) protected void
openMetaLanes
(EdgeBinding edge, AgentNode metaEdge) 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
(EdgeBinding edge, AgentNode metaEdge) void
openUplink
(LinkBinding link) policy()
void
void
void
reportDown
(Metric metric) protected void
reportMetrics
(long dt) schedule()
void
setEdgeContext
(EdgeContext edgeContext) void
setNetwork
(MeshBinding network) stage()
store()
final TierContext
void
Logs a trace-level message.<T> T
unwrapEdge
(Class<T> edgeClass) 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
-
edgeContext
-
-
Constructor Details
-
EdgeTable
public EdgeTable()
-
-
Method Details
-
tierContext
- Specified by:
tierContext
in interfaceTierBinding
- Specified by:
tierContext
in classAbstractTierBinding
-
edgeWrapper
- Specified by:
edgeWrapper
in interfaceEdgeBinding
-
edgeContext
- Specified by:
edgeContext
in interfaceEdgeBinding
-
setEdgeContext
- Specified by:
setEdgeContext
in interfaceEdgeBinding
-
unwrapEdge
- Specified by:
unwrapEdge
in interfaceEdgeBinding
-
bottomEdge
- Specified by:
bottomEdge
in interfaceEdgeBinding
-
createMeshContext
-
cellAddress
- Specified by:
cellAddress
in interfaceCellContext
- Specified by:
cellAddress
in interfaceEdgeBinding
-
edgeName
- Specified by:
edgeName
in interfaceCellContext
- Specified by:
edgeName
in interfaceEdgeBinding
-
meshUri
- Specified by:
meshUri
in interfaceCellContext
-
policy
- Specified by:
policy
in interfaceCellContext
-
schedule
- Specified by:
schedule
in interfaceCellContext
-
stage
- Specified by:
stage
in interfaceCellContext
-
store
- Specified by:
store
in interfaceCellContext
-
openMetaEdge
- Specified by:
openMetaEdge
in interfaceEdgeBinding
-
openMetaLanes
-
openReflectLanes
-
openLogLanes
-
network
- Specified by:
network
in interfaceEdgeBinding
-
setNetwork
- Specified by:
setNetwork
in interfaceEdgeBinding
-
meshes
- Specified by:
meshes
in interfaceEdgeBinding
-
getMesh
- Specified by:
getMesh
in interfaceEdgeBinding
-
openMesh
- Specified by:
openMesh
in interfaceEdgeBinding
-
openMesh
- Specified by:
openMesh
in interfaceEdgeBinding
-
closeMesh
-
didOpenMesh
-
didCloseMesh
-
openMetaMesh
- Specified by:
openMetaMesh
in interfaceEdgeBinding
-
openMetaPart
- Specified by:
openMetaPart
in interfaceEdgeBinding
-
openMetaHost
- Specified by:
openMetaHost
in interfaceEdgeBinding
-
openMetaNode
- Specified by:
openMetaNode
in interfaceEdgeBinding
-
openMetaLane
- Specified by:
openMetaLane
in interfaceEdgeBinding
-
openMetaUplink
- Specified by:
openMetaUplink
in interfaceEdgeBinding
-
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
-
accumulateMeshProfile
-
accumulateWarpDownlinkProfile
-
didUpdateMetrics
protected void didUpdateMetrics() -
flushMetrics
protected void flushMetrics() -
reportMetrics
protected void reportMetrics(long dt) -
collectProfile
-