java.lang.Object
swim.actor.ActorHostDef
-
Constructor Summary
ConstructorsConstructorDescriptionActorHostDef
(UriPattern hostPattern, boolean isPrimary, boolean isReplica, UriMapper<NodeDef> nodeDefs, UriMapper<LaneDef> laneDefs, LogDef logDef, PolicyDef policyDef, StageDef stageDef, StoreDef storeDef) -
Method Summary
Modifier and TypeMethodDescriptionprotected ActorHostDef
copy
(UriPattern hostPattern, boolean isPrimary, boolean isReplica, UriMapper<NodeDef> nodeDefs, UriMapper<LaneDef> laneDefs, LogDef logDef, PolicyDef policyDef, StageDef stageDef, StoreDef storeDef) <T> Output<T>
Writes a developer readable, debug-formatted string representation of this object tooutput
.boolean
static ActorHostDef
fromHostPattern
(String hostPattern) static ActorHostDef
fromHostPattern
(UriPattern hostPattern) static ActorHostDef
fromHostUri
(String hostUri) static ActorHostDef
fromHostUri
(Uri hostUri) final LaneDef
getLaneDef
(Uri laneUri) final NodeDef
getNodeDef
(Uri nodeUri) int
hashCode()
final UriPattern
hostPattern
(UriPattern hostPattern) final Uri
hostUri()
final boolean
isPrimary
(boolean isPrimary) final boolean
isReplica
(boolean isReplica) final Collection<? extends LaneDef>
laneDefs()
final LogDef
logDef()
final Collection<? extends NodeDef>
nodeDefs()
final PolicyDef
final StageDef
stageDef()
final StoreDef
storeDef()
toString()
-
Constructor Details
-
ActorHostDef
-
-
Method Details
-
hostUri
-
hostPattern
- Specified by:
hostPattern
in interfaceHostDef
-
hostPattern
-
isPrimary
public final boolean isPrimary() -
isPrimary
-
isReplica
public final boolean isReplica() -
isReplica
-
nodeDefs
-
getNodeDef
- Specified by:
getNodeDef
in interfaceHostDef
-
nodeDef
-
laneDefs
-
getLaneDef
- Specified by:
getLaneDef
in interfaceHostDef
-
laneDef
-
logDef
-
logDef
-
policyDef
-
policyDef
-
stageDef
-
stageDef
-
storeDef
-
storeDef
-
copy
protected ActorHostDef copy(UriPattern hostPattern, boolean isPrimary, boolean isReplica, UriMapper<NodeDef> nodeDefs, UriMapper<LaneDef> laneDefs, LogDef logDef, PolicyDef policyDef, StageDef stageDef, StoreDef storeDef) -
equals
-
hashCode
public int hashCode() -
debug
Description copied from interface:Debug
Writes a developer readable, debug-formatted string representation of this object tooutput
. -
toString
-
fromHostUri
-
fromHostUri
-
fromHostPattern
-
fromHostPattern
-