- java.lang.Object
-
- swim.actor.ActorPartDef
-
- All Implemented Interfaces:
swim.codec.Debug,swim.system.CellDef,swim.system.PartDef
public class ActorPartDef extends Object implements swim.system.PartDef, swim.codec.Debug
-
-
Constructor Summary
Constructors Constructor Description ActorPartDef(swim.structure.Value partKey, swim.system.PartPredicate predicate, boolean isGateway, swim.uri.UriMapper<swim.system.HostDef> hostDefs, 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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ActorPartDefcopy(swim.structure.Value partKey, swim.system.PartPredicate predicate, boolean isGateway, swim.uri.UriMapper<swim.system.HostDef> hostDefs, 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)booleanequals(Object other)static ActorPartDeffromPartPredicate(swim.structure.Value partKey, swim.system.PartPredicate predicate)swim.system.HostDefgetHostDef(swim.uri.Uri hostUri)swim.system.LaneDefgetLaneDef(swim.uri.Uri laneUri)swim.system.NodeDefgetNodeDef(swim.uri.Uri nodeUri)inthashCode()ActorPartDefhostDef(swim.system.HostDef hostDef)Collection<? extends swim.system.HostDef>hostDefs()booleanisGateway()ActorPartDefisGateway(boolean isGateway)ActorPartDeflaneDef(swim.system.LaneDef laneDef)Collection<? extends swim.system.LaneDef>laneDefs()swim.system.LogDeflogDef()ActorPartDeflogDef(swim.system.LogDef logDef)ActorPartDefnodeDef(swim.system.NodeDef nodeDef)Collection<? extends swim.system.NodeDef>nodeDefs()swim.structure.ValuepartKey()ActorPartDefpartKey(swim.structure.Value partKey)swim.system.PolicyDefpolicyDef()ActorPartDefpolicyDef(swim.system.PolicyDef policyDef)swim.system.PartPredicatepredicate()ActorPartDefpredicate(swim.system.PartPredicate predicate)swim.concurrent.StageDefstageDef()ActorPartDefstageDef(swim.concurrent.StageDef stageDef)swim.store.StoreDefstoreDef()ActorPartDefstoreDef(swim.store.StoreDef storeDef)StringtoString()
-
-
-
Constructor Detail
-
ActorPartDef
public ActorPartDef(swim.structure.Value partKey, swim.system.PartPredicate predicate, boolean isGateway, swim.uri.UriMapper<swim.system.HostDef> hostDefs, 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 Detail
-
partKey
public final swim.structure.Value partKey()
- Specified by:
partKeyin interfaceswim.system.PartDef
-
partKey
public ActorPartDef partKey(swim.structure.Value partKey)
-
predicate
public final swim.system.PartPredicate predicate()
- Specified by:
predicatein interfaceswim.system.PartDef
-
predicate
public ActorPartDef predicate(swim.system.PartPredicate predicate)
-
isGateway
public final boolean isGateway()
- Specified by:
isGatewayin interfaceswim.system.PartDef
-
isGateway
public ActorPartDef isGateway(boolean isGateway)
-
hostDefs
public final Collection<? extends swim.system.HostDef> hostDefs()
- Specified by:
hostDefsin interfaceswim.system.PartDef
-
getHostDef
public final swim.system.HostDef getHostDef(swim.uri.Uri hostUri)
- Specified by:
getHostDefin interfaceswim.system.PartDef
-
hostDef
public ActorPartDef hostDef(swim.system.HostDef hostDef)
-
nodeDefs
public final Collection<? extends swim.system.NodeDef> nodeDefs()
- Specified by:
nodeDefsin interfaceswim.system.PartDef
-
getNodeDef
public final swim.system.NodeDef getNodeDef(swim.uri.Uri nodeUri)
- Specified by:
getNodeDefin interfaceswim.system.PartDef
-
nodeDef
public ActorPartDef nodeDef(swim.system.NodeDef nodeDef)
-
laneDefs
public final Collection<? extends swim.system.LaneDef> laneDefs()
- Specified by:
laneDefsin interfaceswim.system.PartDef
-
getLaneDef
public final swim.system.LaneDef getLaneDef(swim.uri.Uri laneUri)
- Specified by:
getLaneDefin interfaceswim.system.PartDef
-
laneDef
public ActorPartDef laneDef(swim.system.LaneDef laneDef)
-
logDef
public final swim.system.LogDef logDef()
- Specified by:
logDefin interfaceswim.system.CellDef
-
logDef
public ActorPartDef logDef(swim.system.LogDef logDef)
-
policyDef
public final swim.system.PolicyDef policyDef()
- Specified by:
policyDefin interfaceswim.system.CellDef
-
policyDef
public ActorPartDef policyDef(swim.system.PolicyDef policyDef)
-
stageDef
public final swim.concurrent.StageDef stageDef()
- Specified by:
stageDefin interfaceswim.system.CellDef
-
stageDef
public ActorPartDef stageDef(swim.concurrent.StageDef stageDef)
-
storeDef
public final swim.store.StoreDef storeDef()
- Specified by:
storeDefin interfaceswim.system.CellDef
-
storeDef
public ActorPartDef storeDef(swim.store.StoreDef storeDef)
-
copy
protected ActorPartDef copy(swim.structure.Value partKey, swim.system.PartPredicate predicate, boolean isGateway, swim.uri.UriMapper<swim.system.HostDef> hostDefs, 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)
-
debug
public <T> swim.codec.Output<T> debug(swim.codec.Output<T> output)
- Specified by:
debugin interfaceswim.codec.Debug
-
fromPartPredicate
public static ActorPartDef fromPartPredicate(swim.structure.Value partKey, swim.system.PartPredicate predicate)
-
-