- java.lang.Object
-
- swim.runtime.NodeAddress
-
- All Implemented Interfaces:
swim.codec.Debug,CellAddress,EdgeAddressed,HostAddressed,MeshAddressed,NodeAddressed,PartAddressed
public final class NodeAddress extends Object implements EdgeAddressed, MeshAddressed, PartAddressed, HostAddressed, NodeAddressed, swim.codec.Debug
-
-
Constructor Summary
Constructors Constructor Description NodeAddress(String edgeName, swim.uri.Uri meshUri, swim.structure.Value partKey, swim.uri.Uri hostUri, swim.uri.Uri nodeUri)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddebug(swim.codec.Output<?> output)StringedgeName()booleanequals(Object other)static NodeAddressfrom(String edgeName, String meshUri, swim.structure.Value partKey, String hostUri, String nodeUri)static NodeAddressfrom(String edgeName, swim.uri.Uri meshUri, swim.structure.Value partKey, swim.uri.Uri hostUri, swim.uri.Uri nodeUri)inthashCode()swim.uri.UrihostUri()NodeAddresshostUri(String hostUri)NodeAddresshostUri(swim.uri.Uri hostUri)LaneAddresslaneUri(String laneUri)LaneAddresslaneUri(swim.uri.Uri laneUri)swim.uri.UrimeshUri()NodeAddressmeshUri(String meshUri)NodeAddressmeshUri(swim.uri.Uri meshUri)swim.uri.UrinodeUri()NodeAddressnodeUri(String nodeUri)NodeAddressnodeUri(swim.uri.Uri nodeUri)swim.structure.ValuepartKey()NodeAddresspartKey(swim.structure.Value partKey)StringtoString()
-
-
-
Constructor Detail
-
NodeAddress
public NodeAddress(String edgeName, swim.uri.Uri meshUri, swim.structure.Value partKey, swim.uri.Uri hostUri, swim.uri.Uri nodeUri)
-
-
Method Detail
-
edgeName
public String edgeName()
- Specified by:
edgeNamein interfaceEdgeAddressed
-
meshUri
public swim.uri.Uri meshUri()
- Specified by:
meshUriin interfaceMeshAddressed
-
meshUri
public NodeAddress meshUri(swim.uri.Uri meshUri)
- Specified by:
meshUriin interfaceEdgeAddressed- Specified by:
meshUriin interfaceMeshAddressed
-
meshUri
public NodeAddress meshUri(String meshUri)
- Specified by:
meshUriin interfaceEdgeAddressed- Specified by:
meshUriin interfaceMeshAddressed
-
partKey
public swim.structure.Value partKey()
- Specified by:
partKeyin interfacePartAddressed
-
partKey
public NodeAddress partKey(swim.structure.Value partKey)
- Specified by:
partKeyin interfaceMeshAddressed- Specified by:
partKeyin interfacePartAddressed
-
hostUri
public swim.uri.Uri hostUri()
- Specified by:
hostUriin interfaceHostAddressed
-
hostUri
public NodeAddress hostUri(swim.uri.Uri hostUri)
- Specified by:
hostUriin interfaceHostAddressed- Specified by:
hostUriin interfacePartAddressed
-
hostUri
public NodeAddress hostUri(String hostUri)
- Specified by:
hostUriin interfaceHostAddressed- Specified by:
hostUriin interfacePartAddressed
-
nodeUri
public swim.uri.Uri nodeUri()
- Specified by:
nodeUriin interfaceNodeAddressed
-
nodeUri
public NodeAddress nodeUri(swim.uri.Uri nodeUri)
- Specified by:
nodeUriin interfaceHostAddressed- Specified by:
nodeUriin interfaceNodeAddressed
-
nodeUri
public NodeAddress nodeUri(String nodeUri)
- Specified by:
nodeUriin interfaceHostAddressed- Specified by:
nodeUriin interfaceNodeAddressed
-
laneUri
public LaneAddress laneUri(swim.uri.Uri laneUri)
- Specified by:
laneUriin interfaceNodeAddressed
-
laneUri
public LaneAddress laneUri(String laneUri)
- Specified by:
laneUriin interfaceNodeAddressed
-
debug
public void debug(swim.codec.Output<?> output)
- Specified by:
debugin interfaceswim.codec.Debug
-
from
public static NodeAddress from(String edgeName, swim.uri.Uri meshUri, swim.structure.Value partKey, swim.uri.Uri hostUri, swim.uri.Uri nodeUri)
-
from
public static NodeAddress from(String edgeName, String meshUri, swim.structure.Value partKey, String hostUri, String nodeUri)
-
-