Package akka.actor.typed
Interface Extension
-
- All Known Subinterfaces:
ClusterSharding
- All Known Implementing Classes:
ActorRefResolver
,ActorRefResolverImpl
,AdaptedClusterSingletonImpl
,AdapterClusterImpl
,Cluster
,ClusterShardingImpl
,ClusterSingleton
,DistributedData
,DistributedData
,DistributedDataImpl
,EventStreamExtension
,Receptionist
,ReceptionistImpl
public interface Extension
Marker trait/interface for extensions. An extension can be registered in the ActorSystem and is guaranteed to only have one instance perActorSystem
instance perExtensionId
. The extension internals must be thread safe. For mutable state it should be preferred to use anActor
rather than extensions as first choice.- See Also:
ExtensionId