Package org.apache.pekko.routing
Class RemoveRoutee
- java.lang.Object
-
- org.apache.pekko.routing.RemoveRoutee
-
- All Implemented Interfaces:
java.io.Serializable
,RouterManagementMesssage
,scala.Equals
,scala.Product
public final class RemoveRoutee extends java.lang.Object implements RouterManagementMesssage, scala.Product, java.io.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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RemoveRoutee(Routee routee)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RemoveRoutee
apply(Routee routee)
boolean
canEqual(java.lang.Object x$1)
RemoveRoutee
copy(Routee routee)
Routee
copy$default$1()
boolean
equals(java.lang.Object x$1)
int
hashCode()
int
productArity()
java.lang.Object
productElement(int x$1)
java.lang.String
productElementName(int x$1)
scala.collection.Iterator<java.lang.Object>
productIterator()
java.lang.String
productPrefix()
Routee
routee()
java.lang.String
toString()
static scala.Option<Routee>
unapply(RemoveRoutee x$0)
-
-
-
Constructor Detail
-
RemoveRoutee
public RemoveRoutee(Routee routee)
-
-
Method Detail
-
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 java.lang.String productPrefix()
- Specified by:
productPrefix
in interfacescala.Product
-
productArity
public int productArity()
- Specified by:
productArity
in interfacescala.Product
-
productElement
public java.lang.Object productElement(int x$1)
- Specified by:
productElement
in interfacescala.Product
-
productIterator
public scala.collection.Iterator<java.lang.Object> productIterator()
- Specified by:
productIterator
in interfacescala.Product
-
canEqual
public boolean canEqual(java.lang.Object x$1)
- Specified by:
canEqual
in interfacescala.Equals
-
productElementName
public java.lang.String productElementName(int x$1)
- Specified by:
productElementName
in interfacescala.Product
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object x$1)
- Specified by:
equals
in interfacescala.Equals
- Overrides:
equals
in classjava.lang.Object
-
-