akka.routing

RouteeProvider

class RouteeProvider extends AnyRef

Factory and registry for routees of the router. Uses context.actorOf to create routees from nrOfInstances property and context.actorFor lookup routees from paths.

Linear Supertypes
AnyRef, Any
Known Subclasses
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. RouteeProvider
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by any2stringfmt
  3. by any2ArrowAssoc
  4. by any2Ensuring
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RouteeProvider(context: ActorContext, routeeProps: Props, resizer: Option[Resizer])

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. def +(other: String): String

    Implicit information
    This member is added by an implicit conversion from RouteeProvider to StringAdd performed by method any2stringadd in scala.Predef.
    Definition Classes
    StringAdd
  5. def ->[B](y: B): (RouteeProvider, B)

    Implicit information
    This member is added by an implicit conversion from RouteeProvider to ArrowAssoc[RouteeProvider] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  6. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  7. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. val context: ActorContext

  11. def createRoutees(nrOfInstances: Int): Unit

    Creates new routees from specified Props and registers them.

  12. def delayedStop(scheduler: Scheduler, abandon: Iterable[ActorRef], stopDelay: FiniteDuration): Unit

    Give concurrent messages a chance to be placed in mailbox before sending PoisonPill.

    Give concurrent messages a chance to be placed in mailbox before sending PoisonPill.

    Attributes
    protected
  13. def ensuring(cond: (RouteeProvider) ⇒ Boolean, msg: ⇒ Any): RouteeProvider

    Implicit information
    This member is added by an implicit conversion from RouteeProvider to Ensuring[RouteeProvider] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: (RouteeProvider) ⇒ Boolean): RouteeProvider

    Implicit information
    This member is added by an implicit conversion from RouteeProvider to Ensuring[RouteeProvider] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: Boolean, msg: ⇒ Any): RouteeProvider

    Implicit information
    This member is added by an implicit conversion from RouteeProvider to Ensuring[RouteeProvider] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: Boolean): RouteeProvider

    Implicit information
    This member is added by an implicit conversion from RouteeProvider to Ensuring[RouteeProvider] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  18. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  19. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. def formatted(fmtstr: String): String

    Implicit information
    This member is added by an implicit conversion from RouteeProvider to StringFormat performed by method any2stringfmt in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  21. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  22. def getRoutees(): List[ActorRef]

    Java API: All routees of the router

  23. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  24. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  25. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  26. final def notify(): Unit

    Definition Classes
    AnyRef
  27. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  28. def registerRoutees(routees: Iterable[ActorRef]): Unit

    Java API: Adds the routees to the router.

    Java API: Adds the routees to the router. Adds death watch of the routees so that they are removed when terminated. Not thread safe, but intended to be called from protected points, such as RouterConfig.createRoute and Resizer.resize.

  29. def registerRoutees(routees: Iterable[ActorRef]): Unit

    Adds the routees to the router.

    Adds the routees to the router. Adds death watch of the routees so that they are removed when terminated. Not thread safe, but intended to be called from protected points, such as RouterConfig.createRoute and Resizer.resize.

  30. def registerRouteesFor(paths: Iterable[String]): Unit

    Java API: Looks up routes with specified paths and registers them.

  31. def registerRouteesFor(paths: Iterable[String]): Unit

    Looks up routes with specified paths and registers them.

  32. def removeRoutees(nrOfInstances: Int, stopDelay: FiniteDuration): Unit

    Remove specified number of routees by unregister them and sending akka.actor.PoisonPill after the specified delay.

    Remove specified number of routees by unregister them and sending akka.actor.PoisonPill after the specified delay. The reason for the delay is to give concurrent messages a chance to be placed in mailbox before sending PoisonPill.

  33. val resizer: Option[Resizer]

  34. val routeeProps: Props

  35. def routees: IndexedSeq[ActorRef]

    All routees of the router

  36. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  37. def toString(): String

    Definition Classes
    AnyRef → Any
  38. def unregisterRoutees(routees: Iterable[ActorRef]): Unit

    Java API: Removes routees from the router.

    Java API: Removes routees from the router. This method doesn't stop the routees. Removes death watch of the routees. Not thread safe, but intended to be called from protected points, such as Resizer.resize.

  39. def unregisterRoutees(routees: Iterable[ActorRef]): Unit

    Removes routees from the router.

    Removes routees from the router. This method doesn't stop the routees. Removes death watch of the routees. Not thread safe, but intended to be called from protected points, such as Resizer.resize.

  40. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. def [B](y: B): (RouteeProvider, B)

    Implicit information
    This member is added by an implicit conversion from RouteeProvider to ArrowAssoc[RouteeProvider] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Shadowed Implicit Value Members

  1. val self: Any

    Implicit information
    This member is added by an implicit conversion from RouteeProvider to StringAdd performed by method any2stringadd in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (routeeProvider: StringAdd).self
    Definition Classes
    StringAdd
  2. val self: Any

    Implicit information
    This member is added by an implicit conversion from RouteeProvider to StringFormat performed by method any2stringfmt in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (routeeProvider: StringFormat).self
    Definition Classes
    StringFormat

Deprecated Value Members

  1. def x: RouteeProvider

    Implicit information
    This member is added by an implicit conversion from RouteeProvider to ArrowAssoc[RouteeProvider] performed by method any2ArrowAssoc in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (routeeProvider: ArrowAssoc[RouteeProvider]).x
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  2. def x: RouteeProvider

    Implicit information
    This member is added by an implicit conversion from RouteeProvider to Ensuring[RouteeProvider] performed by method any2Ensuring in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (routeeProvider: Ensuring[RouteeProvider]).x
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from RouteeProvider to StringAdd

Inherited by implicit conversion any2stringfmt from RouteeProvider to StringFormat

Inherited by implicit conversion any2ArrowAssoc from RouteeProvider to ArrowAssoc[RouteeProvider]

Inherited by implicit conversion any2Ensuring from RouteeProvider to Ensuring[RouteeProvider]

Ungrouped