- java.lang.Object
-
- swim.runtime.MeshProxy
-
- swim.reflect.MetaMesh
-
- All Implemented Interfaces:
Meta
,MetaCell
,MetaRouter
,CellBinding
,CellContext
,MeshBinding
,MeshContext
,TierBinding
,TierContext
,Log
public class MetaMesh extends MeshProxy implements MetaRouter
-
-
Field Summary
-
Fields inherited from class swim.runtime.MeshProxy
meshBinding, meshContext
-
-
Constructor Summary
Constructors Constructor Description MetaMesh(MetaRoot parent, MeshBinding meshBinding)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LinkBinding
bindDownlink(Downlink downlink)
void
cueSystemStats()
DataStats
dataStats()
void
debug(Object message)
Logs a debug-level message.void
didClose()
void
didFail(Throwable error)
void
error(Object message)
Logs an error-level message.void
info(Object message)
Logs an info-level message.PartBinding
injectPart(Value partKey, PartBinding part)
LinkStats
linkStats()
MeshStats
meshStats()
MetaMeshAgent
metaAgent()
MetaRoot
metaParent()
void
openDownlink(LinkBinding link)
ProcessStats
processStats()
NodeBinding
resolveMetaHost(UriPath nodePath)
NodeBinding
resolveMetaMesh(UriPath nodePath)
NodeBinding
resolveMetaNode(UriPath nodePath)
NodeBinding
resolveMetaPart(UriPath nodePath)
StoreStats
storeStats()
SystemStats
systemStats()
void
trace(Object message)
Logs a trace-level message.void
warn(Object message)
Logs a warn-level message.void
willLoad()
-
Methods inherited from class swim.runtime.MeshProxy
addPart, authenticate, close, closeDownlink, createHost, createNode, createPart, didLoad, didOpen, didStart, didStop, didUnload, getGateway, getOurself, getPart, getPart, getParts, httpDownlink, httpUplink, injectHost, injectLane, injectNode, isClosed, isLoaded, isOpened, isStarted, load, meshBinding, meshContext, meshUri, open, openGateway, openPart, openUplink, policy, pushDown, pushUp, schedule, setGateway, setMeshContext, setOurself, stage, start, stop, store, tierContext, unload, unwrapMesh, willClose, willOpen, willStart, willStop, willUnload
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface swim.runtime.CellContext
closeDownlink, httpDownlink, policy, pushDown, schedule, stage, store
-
-
-
-
Constructor Detail
-
MetaMesh
public MetaMesh(MetaRoot parent, MeshBinding meshBinding)
-
-
Method Detail
-
metaParent
public MetaRoot metaParent()
- Specified by:
metaParent
in interfaceMeta
- Specified by:
metaParent
in interfaceMetaCell
- Specified by:
metaParent
in interfaceMetaRouter
-
metaAgent
public MetaMeshAgent metaAgent()
-
storeStats
public StoreStats storeStats()
- Specified by:
storeStats
in interfaceMetaRouter
-
processStats
public ProcessStats processStats()
- Specified by:
processStats
in interfaceMetaRouter
-
systemStats
public SystemStats systemStats()
- Specified by:
systemStats
in interfaceMetaRouter
-
cueSystemStats
public void cueSystemStats()
-
meshStats
public MeshStats meshStats()
-
injectPart
public PartBinding injectPart(Value partKey, PartBinding part)
- Specified by:
injectPart
in interfaceMeshContext
- Overrides:
injectPart
in classMeshProxy
-
bindDownlink
public LinkBinding bindDownlink(Downlink downlink)
- Specified by:
bindDownlink
in interfaceCellContext
- Overrides:
bindDownlink
in classMeshProxy
-
openDownlink
public void openDownlink(LinkBinding link)
- Specified by:
openDownlink
in interfaceCellContext
- Overrides:
openDownlink
in classMeshProxy
-
trace
public void trace(Object message)
Description copied from interface:Log
Logs a trace-level message.
-
debug
public void debug(Object message)
Description copied from interface:Log
Logs a debug-level message.
-
info
public void info(Object message)
Description copied from interface:Log
Logs an info-level message.
-
warn
public void warn(Object message)
Description copied from interface:Log
Logs a warn-level message.
-
error
public void error(Object message)
Description copied from interface:Log
Logs an error-level message.
-
didFail
public void didFail(Throwable error)
- Specified by:
didFail
in interfaceTierBinding
- Overrides:
didFail
in classMeshProxy
-
willLoad
public void willLoad()
- Specified by:
willLoad
in interfaceTierContext
- Overrides:
willLoad
in classMeshProxy
-
didClose
public void didClose()
- Specified by:
didClose
in interfaceTierBinding
- Overrides:
didClose
in classMeshProxy
-
resolveMetaMesh
public NodeBinding resolveMetaMesh(UriPath nodePath)
-
resolveMetaPart
public NodeBinding resolveMetaPart(UriPath nodePath)
-
resolveMetaHost
public NodeBinding resolveMetaHost(UriPath nodePath)
-
resolveMetaNode
public NodeBinding resolveMetaNode(UriPath nodePath)
-
-