- java.lang.Object
-
- swim.runtime.HostProxy
-
- swim.reflect.MetaHost
-
- All Implemented Interfaces:
Meta
,MetaCell
,MetaRouter
,CellBinding
,CellContext
,HostBinding
,HostContext
,TierBinding
,TierContext
,Log
public class MetaHost extends HostProxy implements MetaRouter
-
-
Field Summary
-
Fields inherited from class swim.runtime.HostProxy
hostBinding, hostContext
-
-
Constructor Summary
Constructors Constructor Description MetaHost(MetaPart parent, HostBinding hostBinding)
-
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
didBecomeMaster()
void
didBecomeSlave()
void
didClose()
void
didConnect()
void
didDisconnect()
void
didFail(Throwable error)
void
error(Object message)
Logs an error-level message.HostStats
hostStats()
void
info(Object message)
Logs an info-level message.NodeBinding
injectNode(Uri nodeUri, NodeBinding node)
LinkStats
linkStats()
MetaHostAgent
metaAgent()
MetaPart
metaParent()
void
openDownlink(LinkBinding link)
ProcessStats
processStats()
NodeBinding
resolveMetaHost(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.HostProxy
authenticate, close, closeDownlink, createNode, didLoad, didOpen, didStart, didStop, didUnload, getNode, getNodes, hostBinding, hostContext, hostUri, httpDownlink, httpUplink, injectLane, isClosed, isConnected, isLoaded, isMaster, isOpened, isPrimary, isRemote, isReplica, isSecure, isSlave, isStarted, load, meshUri, open, openNode, openNode, openUplink, partKey, policy, pushDown, pushUp, schedule, setHostContext, setPrimary, setReplica, stage, start, stop, store, tierContext, unload, unwrapHost, 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
-
MetaHost
public MetaHost(MetaPart parent, HostBinding hostBinding)
-
-
Method Detail
-
metaParent
public MetaPart metaParent()
- Specified by:
metaParent
in interfaceMeta
- Specified by:
metaParent
in interfaceMetaCell
- Specified by:
metaParent
in interfaceMetaRouter
-
metaAgent
public MetaHostAgent 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
-
hostStats
public HostStats hostStats()
-
cueSystemStats
public void cueSystemStats()
-
injectNode
public NodeBinding injectNode(Uri nodeUri, NodeBinding node)
- Specified by:
injectNode
in interfaceHostContext
- Overrides:
injectNode
in classHostProxy
-
bindDownlink
public LinkBinding bindDownlink(Downlink downlink)
- Specified by:
bindDownlink
in interfaceCellContext
- Overrides:
bindDownlink
in classHostProxy
-
openDownlink
public void openDownlink(LinkBinding link)
- Specified by:
openDownlink
in interfaceCellContext
- Overrides:
openDownlink
in classHostProxy
-
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 classHostProxy
-
didBecomeMaster
public void didBecomeMaster()
- Specified by:
didBecomeMaster
in interfaceHostBinding
- Overrides:
didBecomeMaster
in classHostProxy
-
didBecomeSlave
public void didBecomeSlave()
- Specified by:
didBecomeSlave
in interfaceHostBinding
- Overrides:
didBecomeSlave
in classHostProxy
-
didConnect
public void didConnect()
- Specified by:
didConnect
in interfaceHostContext
- Overrides:
didConnect
in classHostProxy
-
didDisconnect
public void didDisconnect()
- Specified by:
didDisconnect
in interfaceHostContext
- Overrides:
didDisconnect
in classHostProxy
-
willLoad
public void willLoad()
- Specified by:
willLoad
in interfaceTierContext
- Overrides:
willLoad
in classHostProxy
-
didClose
public void didClose()
- Specified by:
didClose
in interfaceTierBinding
- Overrides:
didClose
in classHostProxy
-
resolveMetaHost
public NodeBinding resolveMetaHost(UriPath nodePath)
-
resolveMetaNode
public NodeBinding resolveMetaNode(UriPath nodePath)
-
-