- java.lang.Object
-
- swim.runtime.RootProxy
-
- swim.cluster.ClusterRoot
-
- All Implemented Interfaces:
CellBinding
,CellContext
,RootBinding
,RootContext
,TierBinding
,TierContext
,Log
public class ClusterRoot extends RootProxy
-
-
Field Summary
-
Fields inherited from class swim.runtime.RootProxy
rootBinding, rootContext
-
-
Constructor Summary
Constructors Constructor Description ClusterRoot(RootBinding rootBinding)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NodeBinding
createClusterNode(Uri meshUri, Value partKey, Uri hostUri, Uri nodeUri)
NodeBinding
createNode(Uri meshUri, Value partKey, Uri hostUri, Uri nodeUri)
MeshBinding
injectMesh(Uri meshUri, MeshBinding mesh)
protected NodeBinding
resolveClusterHost(UriPath nodePath)
protected NodeBinding
resolveClusterMesh(UriPath nodePath)
protected NodeBinding
resolveClusterPart(UriPath nodePath)
-
Methods inherited from class swim.runtime.RootProxy
authenticate, bindDownlink, close, closeDownlink, createHost, createMesh, createPart, debug, didClose, didFail, didLoad, didOpen, didStart, didStop, didUnload, error, getMesh, getMeshes, getNetwork, httpDownlink, httpUplink, info, injectHost, injectLane, injectNode, injectPart, isClosed, isLoaded, isOpened, isStarted, load, meshUri, open, openDownlink, openMesh, openMesh, openUplink, policy, pushDown, pushUp, rootBinding, rootContext, schedule, setNetwork, setRootContext, stage, start, stop, store, tierContext, trace, unload, unwrapRoot, warn, willClose, willLoad, willOpen, willStart, willStop, willUnload
-
-
-
-
Constructor Detail
-
ClusterRoot
public ClusterRoot(RootBinding rootBinding)
-
-
Method Detail
-
injectMesh
public MeshBinding injectMesh(Uri meshUri, MeshBinding mesh)
- Specified by:
injectMesh
in interfaceRootContext
- Overrides:
injectMesh
in classRootProxy
-
createNode
public NodeBinding createNode(Uri meshUri, Value partKey, Uri hostUri, Uri nodeUri)
- Specified by:
createNode
in interfaceRootContext
- Overrides:
createNode
in classRootProxy
-
createClusterNode
public NodeBinding createClusterNode(Uri meshUri, Value partKey, Uri hostUri, Uri nodeUri)
-
resolveClusterMesh
protected NodeBinding resolveClusterMesh(UriPath nodePath)
-
resolveClusterPart
protected NodeBinding resolveClusterPart(UriPath nodePath)
-
resolveClusterHost
protected NodeBinding resolveClusterHost(UriPath nodePath)
-
-