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