- java.lang.Object
-
- swim.runtime.NodeProxy
-
- swim.reflect.MetaNode
-
- All Implemented Interfaces:
Meta
,MetaCell
,MetaRouter
,CellBinding
,CellContext
,NodeBinding
,NodeContext
,TierBinding
,TierContext
,Log
public class MetaNode extends NodeProxy implements MetaRouter
-
-
Field Summary
-
Fields inherited from class swim.runtime.NodeProxy
nodeBinding, nodeContext
-
-
Constructor Summary
Constructors Constructor Description MetaNode(MetaHost parent, NodeBinding nodeBinding)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LinkBinding
bindDownlink(Downlink downlink)
DataStats
dataStats()
void
debug(Object message)
Logs a debug-level message.void
didClose()
void
didFail(Throwable error)
void
didOpen()
void
error(Object message)
Logs an error-level message.void
info(Object message)
Logs an info-level message.LaneBinding
injectLane(Uri laneUri, LaneBinding lane)
LinkStats
linkStats()
MetaNodeAgent
metaAgent()
MetaHost
metaParent()
void
openDownlink(LinkBinding link)
ProcessStats
processStats()
void
pushDown(PushRequest pushRequest)
NodeBinding
resolveMetaLane(UriPath nodePath)
NodeBinding
resolveMetaNode(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.NodeProxy
agentKey, close, closeDownlink, createdTime, didLoad, didStart, didStop, didUnload, getLane, getLanes, hostUri, httpDownlink, httpUplink, identity, isClosed, isLoaded, isOpened, isStarted, load, meshUri, nodeBinding, nodeContext, nodeUri, open, openLane, openUplink, partKey, policy, pushUp, schedule, setNodeContext, stage, start, stop, store, tierContext, unload, unwrapNode, 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, schedule, stage, store
-
-
-
-
Constructor Detail
-
MetaNode
public MetaNode(MetaHost parent, NodeBinding nodeBinding)
-
-
Method Detail
-
metaParent
public MetaHost metaParent()
- Specified by:
metaParent
in interfaceMeta
- Specified by:
metaParent
in interfaceMetaCell
- Specified by:
metaParent
in interfaceMetaRouter
-
metaAgent
public MetaNodeAgent 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
-
injectLane
public LaneBinding injectLane(Uri laneUri, LaneBinding lane)
- Specified by:
injectLane
in interfaceNodeContext
- Overrides:
injectLane
in classNodeProxy
-
bindDownlink
public LinkBinding bindDownlink(Downlink downlink)
- Specified by:
bindDownlink
in interfaceCellContext
- Overrides:
bindDownlink
in classNodeProxy
-
openDownlink
public void openDownlink(LinkBinding link)
- Specified by:
openDownlink
in interfaceCellContext
- Overrides:
openDownlink
in classNodeProxy
-
pushDown
public void pushDown(PushRequest pushRequest)
- Specified by:
pushDown
in interfaceCellContext
- Overrides:
pushDown
in classNodeProxy
-
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 classNodeProxy
-
didOpen
public void didOpen()
- Specified by:
didOpen
in interfaceTierContext
- Overrides:
didOpen
in classNodeProxy
-
willLoad
public void willLoad()
- Specified by:
willLoad
in interfaceTierContext
- Overrides:
willLoad
in classNodeProxy
-
didClose
public void didClose()
- Specified by:
didClose
in interfaceTierBinding
- Overrides:
didClose
in classNodeProxy
-
resolveMetaNode
public NodeBinding resolveMetaNode(UriPath nodePath)
-
resolveMetaLane
public NodeBinding resolveMetaLane(UriPath nodePath)
-
-