Module swim.actor
Package swim.actor

Class ActorPartDef

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

    Modifier and Type
    Method
    Description
    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)
     
    <T> swim.codec.Output<T>
    debug(swim.codec.Output<T> output)
     
    boolean
    equals(Object other)
     
    fromPartPredicate(swim.structure.Value partKey, swim.system.PartPredicate predicate)
     
    final swim.system.HostDef
    getHostDef(swim.uri.Uri hostUri)
     
    final swim.system.LaneDef
    getLaneDef(swim.uri.Uri laneUri)
     
    final swim.system.NodeDef
    getNodeDef(swim.uri.Uri nodeUri)
     
    int
     
    hostDef(swim.system.HostDef hostDef)
     
    final Collection<? extends swim.system.HostDef>
     
    final boolean
     
    isGateway(boolean isGateway)
     
    laneDef(swim.system.LaneDef laneDef)
     
    final Collection<? extends swim.system.LaneDef>
     
    final swim.system.LogDef
     
    logDef(swim.system.LogDef logDef)
     
    nodeDef(swim.system.NodeDef nodeDef)
     
    final Collection<? extends swim.system.NodeDef>
     
    final swim.structure.Value
     
    partKey(swim.structure.Value partKey)
     
    final swim.system.PolicyDef
     
    policyDef(swim.system.PolicyDef policyDef)
     
    final swim.system.PartPredicate
     
    predicate(swim.system.PartPredicate predicate)
     
    final swim.concurrent.StageDef
     
    stageDef(swim.concurrent.StageDef stageDef)
     
    final swim.store.StoreDef
     
    storeDef(swim.store.StoreDef storeDef)
     
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • 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 Details

    • partKey

      public final swim.structure.Value partKey()
      Specified by:
      partKey in interface swim.system.PartDef
    • partKey

      public ActorPartDef partKey(swim.structure.Value partKey)
    • predicate

      public final swim.system.PartPredicate predicate()
      Specified by:
      predicate in interface swim.system.PartDef
    • predicate

      public ActorPartDef predicate(swim.system.PartPredicate predicate)
    • isGateway

      public final boolean isGateway()
      Specified by:
      isGateway in interface swim.system.PartDef
    • isGateway

      public ActorPartDef isGateway(boolean isGateway)
    • hostDefs

      public final Collection<? extends swim.system.HostDef> hostDefs()
      Specified by:
      hostDefs in interface swim.system.PartDef
    • getHostDef

      public final swim.system.HostDef getHostDef(swim.uri.Uri hostUri)
      Specified by:
      getHostDef in interface swim.system.PartDef
    • hostDef

      public ActorPartDef hostDef(swim.system.HostDef hostDef)
    • nodeDefs

      public final Collection<? extends swim.system.NodeDef> nodeDefs()
      Specified by:
      nodeDefs in interface swim.system.PartDef
    • getNodeDef

      public final swim.system.NodeDef getNodeDef(swim.uri.Uri nodeUri)
      Specified by:
      getNodeDef in interface swim.system.PartDef
    • nodeDef

      public ActorPartDef nodeDef(swim.system.NodeDef nodeDef)
    • laneDefs

      public final Collection<? extends swim.system.LaneDef> laneDefs()
      Specified by:
      laneDefs in interface swim.system.PartDef
    • getLaneDef

      public final swim.system.LaneDef getLaneDef(swim.uri.Uri laneUri)
      Specified by:
      getLaneDef in interface swim.system.PartDef
    • laneDef

      public ActorPartDef laneDef(swim.system.LaneDef laneDef)
    • logDef

      public final swim.system.LogDef logDef()
      Specified by:
      logDef in interface swim.system.CellDef
    • logDef

      public ActorPartDef logDef(swim.system.LogDef logDef)
    • policyDef

      public final swim.system.PolicyDef policyDef()
      Specified by:
      policyDef in interface swim.system.CellDef
    • policyDef

      public ActorPartDef policyDef(swim.system.PolicyDef policyDef)
    • stageDef

      public final swim.concurrent.StageDef stageDef()
      Specified by:
      stageDef in interface swim.system.CellDef
    • stageDef

      public ActorPartDef stageDef(swim.concurrent.StageDef stageDef)
    • storeDef

      public final swim.store.StoreDef storeDef()
      Specified by:
      storeDef in interface swim.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)
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • debug

      public <T> swim.codec.Output<T> debug(swim.codec.Output<T> output)
      Specified by:
      debug in interface swim.codec.Debug
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • fromPartPredicate

      public static ActorPartDef fromPartPredicate(swim.structure.Value partKey, swim.system.PartPredicate predicate)