- java.lang.Object
-
- swim.runtime.RootProxy
-
- swim.reflect.MetaRoot
-
- All Implemented Interfaces:
Meta
,MetaCell
,MetaRouter
,CellBinding
,CellContext
,RootBinding
,RootContext
,TierBinding
,TierContext
,Log
public class MetaRoot extends RootProxy implements MetaRouter
-
-
Field Summary
-
Fields inherited from class swim.runtime.RootProxy
rootBinding, rootContext
-
-
Constructor Summary
Constructors Constructor Description MetaRoot(RootBinding rootBinding)
-
Method Summary
-
Methods inherited from class swim.runtime.RootProxy
authenticate, close, closeDownlink, createHost, createMesh, createPart, didLoad, didStart, didStop, didUnload, getMesh, getMeshes, getNetwork, httpDownlink, httpUplink, injectHost, injectLane, injectNode, injectPart, isClosed, isLoaded, isOpened, isStarted, load, meshUri, open, openMesh, openMesh, openUplink, policy, pushDown, pushUp, rootBinding, rootContext, schedule, setNetwork, setRootContext, stage, start, stop, store, tierContext, unload, unwrapRoot, 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, meshUri, policy, pushDown, schedule, stage, store
-
-
-
-
Constructor Detail
-
MetaRoot
public MetaRoot(RootBinding rootBinding)
-
-
Method Detail
-
metaParent
public MetaRouter metaParent()
- Specified by:
metaParent
in interfaceMeta
- Specified by:
metaParent
in interfaceMetaCell
- Specified by:
metaParent
in interfaceMetaRouter
-
metaAgent
public MetaRootAgent 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()
-
injectMesh
public MeshBinding injectMesh(Uri meshUri, MeshBinding mesh)
- Specified by:
injectMesh
in interfaceRootContext
- Overrides:
injectMesh
in classRootProxy
-
bindDownlink
public LinkBinding bindDownlink(Downlink downlink)
- Specified by:
bindDownlink
in interfaceCellContext
- Overrides:
bindDownlink
in classRootProxy
-
openDownlink
public void openDownlink(LinkBinding link)
- Specified by:
openDownlink
in interfaceCellContext
- Overrides:
openDownlink
in classRootProxy
-
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 classRootProxy
-
willLoad
public void willLoad()
- Specified by:
willLoad
in interfaceTierContext
- Overrides:
willLoad
in classRootProxy
-
didOpen
public void didOpen()
- Specified by:
didOpen
in interfaceTierContext
- Overrides:
didOpen
in classRootProxy
-
didClose
public void didClose()
- Specified by:
didClose
in interfaceTierBinding
- Overrides:
didClose
in classRootProxy
-
createNode
public NodeBinding createNode(Uri meshUri, Value partKey, Uri hostUri, Uri nodeUri)
- Specified by:
createNode
in interfaceRootContext
- Overrides:
createNode
in classRootProxy
-
resolveMetaMesh
protected NodeBinding resolveMetaMesh(UriPath nodePath)
-
resolveMetaPart
protected NodeBinding resolveMetaPart(UriPath nodePath)
-
resolveMetaHost
protected NodeBinding resolveMetaHost(UriPath nodePath)
-
resolveMetaNode
protected NodeBinding resolveMetaNode(UriPath nodePath)
-
-