Class RemoveRoutee

java.lang.Object
org.apache.pekko.routing.RemoveRoutee
All Implemented Interfaces:
Serializable, RouterManagementMesssage, scala.Equals, scala.Product

public final class RemoveRoutee extends Object implements RouterManagementMesssage, scala.Product, Serializable
Remove a specific routee by sending this message to the router. It may be handled after other messages.

For a pool, with child routees, the routee is stopped by sending a pekko.actor.PoisonPill to the routee. Precautions are taken reduce the risk of dropping messages that are concurrently being routed to the removed routee, but there are no guarantees.

See Also:
  • Constructor Details

    • RemoveRoutee

      public RemoveRoutee(Routee routee)
  • Method Details

    • apply

      public static RemoveRoutee apply(Routee routee)
    • unapply

      public static scala.Option<Routee> unapply(RemoveRoutee x$0)
    • routee

      public Routee routee()
    • copy

      public RemoveRoutee copy(Routee routee)
    • copy$default$1

      public Routee copy$default$1()
    • productPrefix

      public String productPrefix()
      Specified by:
      productPrefix in interface scala.Product
    • productArity

      public int productArity()
      Specified by:
      productArity in interface scala.Product
    • productElement

      public Object productElement(int x$1)
      Specified by:
      productElement in interface scala.Product
    • productIterator

      public scala.collection.Iterator<Object> productIterator()
      Specified by:
      productIterator in interface scala.Product
    • canEqual

      public boolean canEqual(Object x$1)
      Specified by:
      canEqual in interface scala.Equals
    • productElementName

      public String productElementName(int x$1)
      Specified by:
      productElementName in interface scala.Product
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object x$1)
      Specified by:
      equals in interface scala.Equals
      Overrides:
      equals in class Object