Module swim.actor
Package swim.actor

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

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

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

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