Package akka.actor.typed
Class ActorRefResolver
- java.lang.Object
-
- akka.actor.typed.ActorRefResolver
-
- All Implemented Interfaces:
Extension
- Direct Known Subclasses:
ActorRefResolverImpl
public abstract class ActorRefResolver extends java.lang.Object implements Extension
Generate full String representation including the uid for the actor cell instance as URI fragment, replacing the Address in the RootActor Path with the local one unless this path’s address includes host and port information. This representation should be used as serialized representation.
-
-
Constructor Summary
Constructors Constructor Description ActorRefResolver()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static T
apply(ActorSystem<?> system)
static ActorRefResolver
createExtension(ActorSystem<?> system)
static boolean
equals(java.lang.Object other)
static ActorRefResolver
get(ActorSystem<?> system)
static int
hashCode()
static ExtensionId<T>
id()
abstract <T> ActorRef<T>
resolveActorRef(java.lang.String serializedActorRef)
Deserialize anActorRef
in thetoSerializationFormat(akka.actor.typed.ActorRef<T>)
.abstract <T> java.lang.String
toSerializationFormat(ActorRef<T> ref)
-
-
-
Method Detail
-
get
public static ActorRefResolver get(ActorSystem<?> system)
-
createExtension
public static ActorRefResolver createExtension(ActorSystem<?> system)
-
apply
public static final T apply(ActorSystem<?> system)
-
hashCode
public static final int hashCode()
-
equals
public static final boolean equals(java.lang.Object other)
-
id
public static ExtensionId<T> id()
-
toSerializationFormat
public abstract <T> java.lang.String toSerializationFormat(ActorRef<T> ref)
-
resolveActorRef
public abstract <T> ActorRef<T> resolveActorRef(java.lang.String serializedActorRef)
Deserialize anActorRef
in thetoSerializationFormat(akka.actor.typed.ActorRef<T>)
.- Parameters:
serializedActorRef
- (undocumented)- Returns:
- (undocumented)
-
-