Package org.apache.pekko.stream
Class SystemMaterializer$
- java.lang.Object
-
- org.apache.pekko.stream.SystemMaterializer$
-
- All Implemented Interfaces:
ExtensionId<SystemMaterializer>,ExtensionIdProvider
public class SystemMaterializer$ extends java.lang.Object implements ExtensionId<SystemMaterializer>, ExtensionIdProvider
The system materializer is a default materializer to use for most cases running streams, it is a single instance per actor system that is tied to the lifecycle of that system.Not intended to be manually used in user code.
-
-
Field Summary
Fields Modifier and Type Field Description static SystemMaterializer$MODULE$Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description SystemMaterializer$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SystemMaterializercreateExtension(ExtendedActorSystem system)Is used by Pekko to instantiate the Extension identified by this ExtensionId, internal use only.SystemMaterializerget(ActorSystem system)Returns an instance of the extension identified by this ExtensionId instance.SystemMaterializerget(ClassicActorSystemProvider system)Returns an instance of the extension identified by this ExtensionId instance.SystemMaterializer$lookup()Returns the canonical ExtensionId for this Extension-
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 SystemMaterializer$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
get
public SystemMaterializer get(ActorSystem system)
Description copied from interface:ExtensionIdReturns 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:
getin interfaceExtensionId<SystemMaterializer>
-
get
public SystemMaterializer get(ClassicActorSystemProvider system)
Description copied from interface:ExtensionIdReturns 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:
getin interfaceExtensionId<SystemMaterializer>
-
lookup
public SystemMaterializer$ lookup()
Description copied from interface:ExtensionIdProviderReturns the canonical ExtensionId for this Extension- Specified by:
lookupin interfaceExtensionIdProvider
-
createExtension
public SystemMaterializer createExtension(ExtendedActorSystem system)
Description copied from interface:ExtensionIdIs used by Pekko to instantiate the Extension identified by this ExtensionId, internal use only.- Specified by:
createExtensionin interfaceExtensionId<SystemMaterializer>
-
-