Module swim.actor
Package swim.actor

Class ActorMeshDef

java.lang.Object
swim.actor.ActorMeshDef
All Implemented Interfaces:
swim.codec.Debug, swim.system.CellDef, swim.system.MeshDef

public class ActorMeshDef extends Object implements swim.system.MeshDef, swim.codec.Debug
  • Constructor Summary

    Constructors
    Constructor
    Description
    ActorMeshDef(swim.uri.Uri meshUri, swim.collections.HashTrieMap<swim.structure.Value,swim.system.PartDef> partDefs, 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 ActorMeshDef
    copy(swim.uri.Uri meshUri, swim.collections.HashTrieMap<swim.structure.Value,swim.system.PartDef> partDefs, 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)
     
     
    fromMeshUri(swim.uri.Uri meshUri)
     
    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)
     
    final swim.system.PartDef
    getPartDef(swim.structure.Value partKey)
     
    int
     
    hostDef(swim.system.HostDef hostDef)
     
    final Collection<? extends swim.system.HostDef>
     
    laneDef(swim.system.LaneDef laneDef)
     
    final Collection<? extends swim.system.LaneDef>
     
    final swim.system.LogDef
     
    logDef(swim.system.LogDef logDef)
     
    final swim.uri.Uri
     
    meshUri(swim.uri.Uri meshUri)
     
    nodeDef(swim.system.NodeDef nodeDef)
     
    final Collection<? extends swim.system.NodeDef>
     
    partDef(swim.system.PartDef partDef)
     
    final Collection<? extends swim.system.PartDef>
     
    final swim.system.PolicyDef
     
    policyDef(swim.system.PolicyDef policyDef)
     
    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

    • ActorMeshDef

      public ActorMeshDef(swim.uri.Uri meshUri, swim.collections.HashTrieMap<swim.structure.Value,swim.system.PartDef> partDefs, 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

    • meshUri

      public final swim.uri.Uri meshUri()
      Specified by:
      meshUri in interface swim.system.MeshDef
    • meshUri

      public ActorMeshDef meshUri(swim.uri.Uri meshUri)
    • partDefs

      public final Collection<? extends swim.system.PartDef> partDefs()
      Specified by:
      partDefs in interface swim.system.MeshDef
    • getPartDef

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

      public ActorMeshDef partDef(swim.system.PartDef partDef)
    • hostDefs

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      public final swim.store.StoreDef storeDef()
      Specified by:
      storeDef in interface swim.system.CellDef
    • storeDef

      public ActorMeshDef storeDef(swim.store.StoreDef storeDef)
    • copy

      protected ActorMeshDef copy(swim.uri.Uri meshUri, swim.collections.HashTrieMap<swim.structure.Value,swim.system.PartDef> partDefs, 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
    • fromMeshUri

      public static ActorMeshDef fromMeshUri(swim.uri.Uri meshUri)
    • fromMeshUri

      public static ActorMeshDef fromMeshUri(String meshUri)