Package org.apache.pekko.actor
Class ActorIdentity
java.lang.Object
org.apache.pekko.actor.ActorIdentity
- All Implemented Interfaces:
Serializable
,scala.Equals
,scala.Product
Reply to
pekko.actor.Identify
. Contains
Some(ref)
with the ActorRef
of the actor replying to the request or
None
if no actor matched the request.
The correlationId
is taken from the messageId
in
the Identify
message.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ActorIdentity
boolean
scala.Option<ActorRef>
boolean
Java API:ActorRef
of the actor replying to the request or not defined if no actor matched the request.int
hashCode()
int
productElement
(int x$1) productElementName
(int x$1) scala.collection.Iterator<Object>
scala.Option<ActorRef>
ref()
toString()
unapply
(ActorIdentity x$0) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface scala.Product
productElementNames
-
Constructor Details
-
ActorIdentity
-
-
Method Details
-
apply
-
unapply
-
correlationId
-
ref
-
getActorRef
Java API:ActorRef
of the actor replying to the request or not defined if no actor matched the request. -
copy
-
copy$default$1
-
copy$default$2
-
productPrefix
- Specified by:
productPrefix
in interfacescala.Product
-
productArity
public int productArity()- Specified by:
productArity
in interfacescala.Product
-
productElement
- Specified by:
productElement
in interfacescala.Product
-
productIterator
- Specified by:
productIterator
in interfacescala.Product
-
canEqual
- Specified by:
canEqual
in interfacescala.Equals
-
productElementName
- Specified by:
productElementName
in interfacescala.Product
-
hashCode
public int hashCode() -
toString
-
equals
-