- java.lang.Object
-
- swim.runtime.HostAddress
-
- All Implemented Interfaces:
Debug,CellAddress,EdgeAddressed,HostAddressed,MeshAddressed,PartAddressed
public final class HostAddress extends Object implements EdgeAddressed, MeshAddressed, PartAddressed, HostAddressed, Debug
-
-
Constructor Summary
Constructors Constructor Description HostAddress(String edgeName, Uri meshUri, Value partKey, Uri hostUri)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddebug(Output<?> output)Writes a developer readable, debug-formatted string representation of this object tooutput.StringedgeName()booleanequals(Object other)static HostAddressfrom(String edgeName, String meshUri, Value partKey, String hostUri)static HostAddressfrom(String edgeName, Uri meshUri, Value partKey, Uri hostUri)inthashCode()UrihostUri()HostAddresshostUri(String hostUri)HostAddresshostUri(Uri hostUri)UrimeshUri()HostAddressmeshUri(String meshUri)HostAddressmeshUri(Uri meshUri)NodeAddressnodeUri(String nodeUri)NodeAddressnodeUri(Uri nodeUri)ValuepartKey()HostAddresspartKey(Value partKey)StringtoString()
-
-
-
Method Detail
-
edgeName
public String edgeName()
- Specified by:
edgeNamein interfaceEdgeAddressed
-
meshUri
public Uri meshUri()
- Specified by:
meshUriin interfaceMeshAddressed
-
meshUri
public HostAddress meshUri(Uri meshUri)
- Specified by:
meshUriin interfaceEdgeAddressed- Specified by:
meshUriin interfaceMeshAddressed
-
meshUri
public HostAddress meshUri(String meshUri)
- Specified by:
meshUriin interfaceEdgeAddressed- Specified by:
meshUriin interfaceMeshAddressed
-
partKey
public Value partKey()
- Specified by:
partKeyin interfacePartAddressed
-
partKey
public HostAddress partKey(Value partKey)
- Specified by:
partKeyin interfaceMeshAddressed- Specified by:
partKeyin interfacePartAddressed
-
hostUri
public Uri hostUri()
- Specified by:
hostUriin interfaceHostAddressed
-
hostUri
public HostAddress hostUri(Uri hostUri)
- Specified by:
hostUriin interfaceHostAddressed- Specified by:
hostUriin interfacePartAddressed
-
hostUri
public HostAddress hostUri(String hostUri)
- Specified by:
hostUriin interfaceHostAddressed- Specified by:
hostUriin interfacePartAddressed
-
nodeUri
public NodeAddress nodeUri(Uri nodeUri)
- Specified by:
nodeUriin interfaceHostAddressed
-
nodeUri
public NodeAddress nodeUri(String nodeUri)
- Specified by:
nodeUriin interfaceHostAddressed
-
debug
public void debug(Output<?> output)
Description copied from interface:DebugWrites a developer readable, debug-formatted string representation of this object tooutput.
-
from
public static HostAddress from(String edgeName, Uri meshUri, Value partKey, Uri hostUri)
-
from
public static HostAddress from(String edgeName, String meshUri, Value partKey, String hostUri)
-
-