- java.lang.Object
-
- swim.actor.ActorHostDef
-
-
Constructor Summary
Constructors Constructor Description ActorHostDef(UriPattern hostPattern, boolean isPrimary, boolean isReplica, UriMapper<NodeDef> nodeDefs, UriMapper<LaneDef> laneDefs, LogDef logDef, PolicyDef policyDef, StageDef stageDef, StoreDef storeDef)
-
Method Summary
-
-
-
Method Detail
-
hostPattern
public final UriPattern hostPattern()
- Specified by:
hostPattern
in interfaceHostDef
-
hostPattern
public ActorHostDef hostPattern(UriPattern hostPattern)
-
isPrimary
public ActorHostDef isPrimary(boolean isPrimary)
-
isReplica
public ActorHostDef isReplica(boolean isReplica)
-
nodeDefs
public final Collection<? extends NodeDef> nodeDefs()
-
getNodeDef
public final NodeDef getNodeDef(Uri nodeUri)
- Specified by:
getNodeDef
in interfaceHostDef
-
nodeDef
public ActorHostDef nodeDef(NodeDef nodeDef)
-
laneDefs
public final Collection<? extends LaneDef> laneDefs()
-
getLaneDef
public final LaneDef getLaneDef(Uri laneUri)
- Specified by:
getLaneDef
in interfaceHostDef
-
laneDef
public ActorHostDef laneDef(LaneDef laneDef)
-
logDef
public ActorHostDef logDef(LogDef logDef)
-
policyDef
public ActorHostDef policyDef(PolicyDef policyDef)
-
stageDef
public ActorHostDef stageDef(StageDef stageDef)
-
storeDef
public ActorHostDef storeDef(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)
-
debug
public <T> Output<T> debug(Output<T> output)
Description copied from interface:Debug
Writes a developer readable, debug-formatted string representation of this object tooutput
.
-
fromHostUri
public static ActorHostDef fromHostUri(Uri hostUri)
-
fromHostUri
public static ActorHostDef fromHostUri(String hostUri)
-
fromHostPattern
public static ActorHostDef fromHostPattern(UriPattern hostPattern)
-
fromHostPattern
public static ActorHostDef fromHostPattern(String hostPattern)
-
-