Package org.apache.pekko.stream
Class StreamRefResolver$
- java.lang.Object
-
- org.apache.pekko.stream.StreamRefResolver$
-
- All Implemented Interfaces:
ExtensionId<StreamRefResolver>
public class StreamRefResolver$ extends java.lang.Object implements ExtensionId<StreamRefResolver>
The stream ref resolver extension provides a way to serialize and deserialize streamrefs in user serializers.
-
-
Field Summary
Fields Modifier and Type Field Description static StreamRefResolver$
MODULE$
Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description StreamRefResolver$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StreamRefResolver
createExtension(ExtendedActorSystem system)
Is used by Pekko to instantiate the Extension identified by this ExtensionId, internal use only.StreamRefResolver
get(ActorSystem system)
Returns an instance of the extension identified by this ExtensionId instance.StreamRefResolver
get(ClassicActorSystemProvider system)
Returns an instance of the extension identified by this ExtensionId instance.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.pekko.actor.ExtensionId
apply, apply, equals, hashCode
-
-
-
-
Field Detail
-
MODULE$
public static final StreamRefResolver$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
get
public StreamRefResolver get(ActorSystem system)
Description copied from interface:ExtensionId
Returns an instance of the extension identified by this ExtensionId instance. Java API For extensions written in Scala that are to be used from Java also, this method should be overridden to get correct return type.override def get(system: ActorSystem): TheExtension = super.get(system)
- Specified by:
get
in interfaceExtensionId<StreamRefResolver>
-
get
public StreamRefResolver get(ClassicActorSystemProvider system)
Description copied from interface:ExtensionId
Returns an instance of the extension identified by this ExtensionId instance. Java API For extensions written in Scala that are to be used from Java also, this method should be overridden to get correct return type.override def get(system: ClassicActorSystemProvider): TheExtension = super.get(system)
- Specified by:
get
in interfaceExtensionId<StreamRefResolver>
-
createExtension
public StreamRefResolver createExtension(ExtendedActorSystem system)
Description copied from interface:ExtensionId
Is used by Pekko to instantiate the Extension identified by this ExtensionId, internal use only.- Specified by:
createExtension
in interfaceExtensionId<StreamRefResolver>
-
-