Module swim.actor
Package swim.actor

Class ActorSpaceDef

  • All Implemented Interfaces:
    swim.api.space.SpaceDef, swim.codec.Debug, swim.system.CellDef, swim.system.EdgeDef

    public class ActorSpaceDef
    extends Object
    implements swim.api.space.SpaceDef, swim.system.EdgeDef, swim.codec.Debug
    • Constructor Detail

      • ActorSpaceDef

        public ActorSpaceDef​(String spaceName,
                             swim.collections.FingerTrieSeq<swim.api.plane.PlaneDef> planeDefs,
                             swim.collections.HashTrieMap<String,​swim.api.auth.AuthenticatorDef> authenticatorDefs,
                             swim.collections.HashTrieMap<swim.uri.Uri,​swim.system.MeshDef> meshDefs,
                             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

      • spaceName

        public final String spaceName()
        Specified by:
        spaceName in interface swim.api.space.SpaceDef
      • planeDefs

        public final Collection<? extends swim.api.plane.PlaneDef> planeDefs()
        Specified by:
        planeDefs in interface swim.api.space.SpaceDef
      • getPlaneDef

        public final swim.api.plane.PlaneDef getPlaneDef​(String planeName)
        Specified by:
        getPlaneDef in interface swim.api.space.SpaceDef
      • planeDef

        public ActorSpaceDef planeDef​(swim.api.plane.PlaneDef planeDef)
      • authenticatorDefs

        public final Collection<? extends swim.api.auth.AuthenticatorDef> authenticatorDefs()
      • getAuthenticatorDef

        public final swim.api.auth.AuthenticatorDef getAuthenticatorDef​(String authenticatorDef)
      • authenticatorDef

        public ActorSpaceDef authenticatorDef​(swim.api.auth.AuthenticatorDef authenticatorDef)
      • meshDefs

        public final Collection<? extends swim.system.MeshDef> meshDefs()
        Specified by:
        meshDefs in interface swim.system.EdgeDef
      • getMeshDef

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

        public ActorSpaceDef meshDef​(swim.system.MeshDef meshDef)
      • partDefs

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

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

        public ActorSpaceDef partDef​(swim.system.PartDef partDef)
      • hostDefs

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

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

        public ActorSpaceDef hostDef​(swim.system.HostDef hostDef)
      • nodeDefs

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

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

        public ActorSpaceDef nodeDef​(swim.system.NodeDef nodeDef)
      • laneDefs

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

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

        public ActorSpaceDef laneDef​(swim.system.LaneDef laneDef)
      • logDef

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

        public ActorSpaceDef logDef​(swim.system.LogDef logDef)
      • policyDef

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

        public ActorSpaceDef policyDef​(swim.system.PolicyDef policyDef)
      • stageDef

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

        public ActorSpaceDef stageDef​(swim.concurrent.StageDef stageDef)
      • storeDef

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

        public ActorSpaceDef storeDef​(swim.store.StoreDef storeDef)
      • copy

        protected ActorSpaceDef copy​(String spaceName,
                                     swim.collections.FingerTrieSeq<swim.api.plane.PlaneDef> planeDefs,
                                     swim.collections.HashTrieMap<String,​swim.api.auth.AuthenticatorDef> authenticatorDefs,
                                     swim.collections.HashTrieMap<swim.uri.Uri,​swim.system.MeshDef> meshDefs,
                                     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
      • fromPlaneDef

        public static ActorSpaceDef fromPlaneDef​(swim.api.plane.PlaneDef planeDef)