Module swim.actor
Package swim.actor

Class 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 Detail

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

      • 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)
      • 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
      • fromMeshUri

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