Module swim.actor
Package swim.actor

Class ActorNodeDef

java.lang.Object
swim.actor.ActorNodeDef
All Implemented Interfaces:
swim.codec.Debug, swim.system.CellDef, swim.system.NodeDef

public class ActorNodeDef extends Object implements swim.system.NodeDef, swim.codec.Debug
  • Constructor Details

    • ActorNodeDef

      public ActorNodeDef(swim.uri.UriPattern nodePattern, swim.collections.FingerTrieSeq<swim.api.agent.AgentDef> agentDefs, 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

    • nodeUri

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

      public final swim.uri.UriPattern nodePattern()
      Specified by:
      nodePattern in interface swim.system.NodeDef
    • nodePattern

      public ActorNodeDef nodePattern(swim.uri.UriPattern nodePattern)
    • agentDefs

      public final Collection<? extends swim.api.agent.AgentDef> agentDefs()
      Specified by:
      agentDefs in interface swim.system.NodeDef
    • getAgentDef

      public final swim.api.agent.AgentDef getAgentDef(swim.structure.Value agentId)
      Specified by:
      getAgentDef in interface swim.system.NodeDef
    • agentDef

      public ActorNodeDef agentDef(swim.api.agent.AgentDef agentDef)
    • laneDefs

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

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

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

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

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

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

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

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

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

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

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

      protected ActorNodeDef copy(swim.uri.UriPattern nodePattern, swim.collections.FingerTrieSeq<swim.api.agent.AgentDef> agentDefs, 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
    • fromNodeUri

      public static ActorNodeDef fromNodeUri(swim.uri.Uri nodeUri)
    • fromNodeUri

      public static ActorNodeDef fromNodeUri(String nodeUri)
    • fromNodePattern

      public static ActorNodeDef fromNodePattern(swim.uri.UriPattern nodePattern)
    • fromNodePattern

      public static ActorNodeDef fromNodePattern(String nodePattern)