- java.lang.Object
-
- swim.runtime.PartProxy
-
- swim.reflect.MetaPart
-
- All Implemented Interfaces:
Meta
,MetaCell
,MetaRouter
,CellBinding
,CellContext
,PartBinding
,PartContext
,TierBinding
,TierContext
,Log
public class MetaPart extends PartProxy implements MetaRouter
-
-
Field Summary
-
Fields inherited from class swim.runtime.PartProxy
partBinding, partContext
-
-
Constructor Summary
Constructors Constructor Description MetaPart(MetaMesh parent, PartBinding partBinding)
-
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.HostBinding
injectHost(Uri hostUri, HostBinding host)
LinkStats
linkStats()
MetaPartAgent
metaAgent()
MetaMesh
metaParent()
void
openDownlink(LinkBinding link)
PartStats
partStats()
ProcessStats
processStats()
NodeBinding
resolveMetaHost(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.PartProxy
authenticate, close, closeDownlink, createHost, createNode, didLoad, didOpen, didStart, didStop, didUnload, getHost, getHosts, getMaster, hostDidConnect, hostDidDisconnect, httpDownlink, httpUplink, injectLane, injectNode, isClosed, isLoaded, isOpened, isStarted, load, meshUri, open, openHost, openHost, openUplink, partBinding, partContext, partKey, policy, predicate, pushDown, pushUp, reopenUplinks, schedule, setMaster, setPartContext, stage, start, stop, store, tierContext, unload, unwrapPart, 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
-
MetaPart
public MetaPart(MetaMesh parent, PartBinding partBinding)
-
-
Method Detail
-
metaParent
public MetaMesh metaParent()
- Specified by:
metaParent
in interfaceMeta
- Specified by:
metaParent
in interfaceMetaCell
- Specified by:
metaParent
in interfaceMetaRouter
-
metaAgent
public MetaPartAgent 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()
-
partStats
public PartStats partStats()
-
injectHost
public HostBinding injectHost(Uri hostUri, HostBinding host)
- Specified by:
injectHost
in interfacePartContext
- Overrides:
injectHost
in classPartProxy
-
bindDownlink
public LinkBinding bindDownlink(Downlink downlink)
- Specified by:
bindDownlink
in interfaceCellContext
- Overrides:
bindDownlink
in classPartProxy
-
openDownlink
public void openDownlink(LinkBinding link)
- Specified by:
openDownlink
in interfaceCellContext
- Overrides:
openDownlink
in classPartProxy
-
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 classPartProxy
-
willLoad
public void willLoad()
- Specified by:
willLoad
in interfaceTierContext
- Overrides:
willLoad
in classPartProxy
-
didClose
public void didClose()
- Specified by:
didClose
in interfaceTierBinding
- Overrides:
didClose
in classPartProxy
-
resolveMetaPart
public NodeBinding resolveMetaPart(UriPath nodePath)
-
resolveMetaHost
public NodeBinding resolveMetaHost(UriPath nodePath)
-
resolveMetaNode
public NodeBinding resolveMetaNode(UriPath nodePath)
-
-