java.lang.Object
swim.actor.ActorHostDef
- All Implemented Interfaces:
swim.codec.Debug,swim.system.CellDef,swim.system.HostDef
-
Constructor Summary
ConstructorsConstructorDescriptionActorHostDef(swim.uri.UriPattern hostPattern, boolean isPrimary, boolean isReplica, swim.uri.UriMapper<swim.system.NodeDef> nodeDefs, swim.uri.UriMapper<swim.system.LaneDef> laneDefs, swim.system.LogDef logDef, swim.system.PolicyDef policyDef, swim.concurrent.StageDef stageDef, swim.store.StoreDef storeDef) -
Method Summary
Modifier and TypeMethodDescriptionprotected ActorHostDefcopy(swim.uri.UriPattern hostPattern, boolean isPrimary, boolean isReplica, swim.uri.UriMapper<swim.system.NodeDef> nodeDefs, swim.uri.UriMapper<swim.system.LaneDef> laneDefs, swim.system.LogDef logDef, swim.system.PolicyDef policyDef, swim.concurrent.StageDef stageDef, swim.store.StoreDef storeDef) <T> swim.codec.Output<T>debug(swim.codec.Output<T> output) booleanstatic ActorHostDeffromHostPattern(String hostPattern) static ActorHostDeffromHostPattern(swim.uri.UriPattern hostPattern) static ActorHostDeffromHostUri(String hostUri) static ActorHostDeffromHostUri(swim.uri.Uri hostUri) final swim.system.LaneDefgetLaneDef(swim.uri.Uri laneUri) final swim.system.NodeDefgetNodeDef(swim.uri.Uri nodeUri) inthashCode()final swim.uri.UriPatternhostPattern(swim.uri.UriPattern hostPattern) final swim.uri.UrihostUri()final booleanisPrimary(boolean isPrimary) final booleanisReplica(boolean isReplica) laneDef(swim.system.LaneDef laneDef) final Collection<? extends swim.system.LaneDef>laneDefs()final swim.system.LogDeflogDef()logDef(swim.system.LogDef logDef) nodeDef(swim.system.NodeDef nodeDef) final Collection<? extends swim.system.NodeDef>nodeDefs()final swim.system.PolicyDefpolicyDef(swim.system.PolicyDef policyDef) final swim.concurrent.StageDefstageDef()stageDef(swim.concurrent.StageDef stageDef) final swim.store.StoreDefstoreDef()storeDef(swim.store.StoreDef storeDef) toString()
-
Constructor Details
-
ActorHostDef
public ActorHostDef(swim.uri.UriPattern hostPattern, boolean isPrimary, boolean isReplica, swim.uri.UriMapper<swim.system.NodeDef> nodeDefs, swim.uri.UriMapper<swim.system.LaneDef> laneDefs, swim.system.LogDef logDef, swim.system.PolicyDef policyDef, swim.concurrent.StageDef stageDef, swim.store.StoreDef storeDef)
-
-
Method Details
-
hostUri
public final swim.uri.Uri hostUri()- Specified by:
hostUriin interfaceswim.system.HostDef
-
hostPattern
public final swim.uri.UriPattern hostPattern()- Specified by:
hostPatternin interfaceswim.system.HostDef
-
hostPattern
-
isPrimary
public final boolean isPrimary()- Specified by:
isPrimaryin interfaceswim.system.HostDef
-
isPrimary
-
isReplica
public final boolean isReplica()- Specified by:
isReplicain interfaceswim.system.HostDef
-
isReplica
-
nodeDefs
- Specified by:
nodeDefsin interfaceswim.system.HostDef
-
getNodeDef
public final swim.system.NodeDef getNodeDef(swim.uri.Uri nodeUri) - Specified by:
getNodeDefin interfaceswim.system.HostDef
-
nodeDef
-
laneDefs
- Specified by:
laneDefsin interfaceswim.system.HostDef
-
getLaneDef
public final swim.system.LaneDef getLaneDef(swim.uri.Uri laneUri) - Specified by:
getLaneDefin interfaceswim.system.HostDef
-
laneDef
-
logDef
public final swim.system.LogDef logDef()- Specified by:
logDefin interfaceswim.system.CellDef
-
logDef
-
policyDef
public final swim.system.PolicyDef policyDef()- Specified by:
policyDefin interfaceswim.system.CellDef
-
policyDef
-
stageDef
public final swim.concurrent.StageDef stageDef()- Specified by:
stageDefin interfaceswim.system.CellDef
-
stageDef
-
storeDef
public final swim.store.StoreDef storeDef()- Specified by:
storeDefin interfaceswim.system.CellDef
-
storeDef
-
copy
protected ActorHostDef copy(swim.uri.UriPattern hostPattern, boolean isPrimary, boolean isReplica, swim.uri.UriMapper<swim.system.NodeDef> nodeDefs, swim.uri.UriMapper<swim.system.LaneDef> laneDefs, swim.system.LogDef logDef, swim.system.PolicyDef policyDef, swim.concurrent.StageDef stageDef, swim.store.StoreDef storeDef) -
equals
-
hashCode
public int hashCode() -
debug
public <T> swim.codec.Output<T> debug(swim.codec.Output<T> output) - Specified by:
debugin interfaceswim.codec.Debug
-
toString
-
fromHostUri
-
fromHostUri
-
fromHostPattern
-
fromHostPattern
-